summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-12-01 04:45:36 +0100
committerAndras Timar <andras.timar@collabora.com>2013-12-01 05:11:27 -0600
commit578ff4dfd6f0d63670dfb21425b6b81fdc87d852 (patch)
treec1d62396b5c6575d0ce6932f74f68220ce84543a /sc
parent4139dc70da04fe3d6a86bbab1e7bf6f11d812f04 (diff)
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>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/excel/xichart.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/filter/excel/xichart.cxx b/sc/source/filter/excel/xichart.cxx
index e07d1d4cd1bd..10d858ac9a60 100644
--- a/sc/source/filter/excel/xichart.cxx
+++ b/sc/source/filter/excel/xichart.cxx
@@ -2328,9 +2328,9 @@ Reference< XCoordinateSystem > XclImpChType::CreateCoordSystem( bool b3dChart )
if( maTypeInfo.mbPolarCoordSystem )
{
if( b3dChart )
- xCoordSystem = css::chart2::PolarCoordinateSystem2d::create(xContext);
- else
xCoordSystem = css::chart2::PolarCoordinateSystem3d::create(xContext);
+ else
+ xCoordSystem = css::chart2::PolarCoordinateSystem2d::create(xContext);
}
else
{