fix 2D vs 3D coordinatesystem regression, fdo#67300

regression from 088e86b865062dd4cc5ba0c85c6068dea62238db

Change-Id: Ifc8d5a1da328278175bbc97b4f2aad8e6d200751
Reviewed-on: https://gerrit.libreoffice.org/6880
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>