summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-12-01 04:45:36 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-12-01 04:45:36 +0100
commit80373a6969fd8d3c19231041e465372cf03f53f2 (patch)
tree4c6f7cc3b7291de707305edde9e67055fb755c21
parent666ef5425e4e7e1a01c3dddbd0d847fec193176a (diff)
fix 2D vs 3D coordinatesystem regression, fdo#67300
-rw-r--r--oox/source/drawingml/chart/typegroupconverter.cxx4
-rw-r--r--sc/source/filter/excel/xichart.cxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/oox/source/drawingml/chart/typegroupconverter.cxx b/oox/source/drawingml/chart/typegroupconverter.cxx
index bf8e16669df4..b87fc455200c 100644
--- a/oox/source/drawingml/chart/typegroupconverter.cxx
+++ b/oox/source/drawingml/chart/typegroupconverter.cxx
@@ -248,9 +248,9 @@ Reference< XCoordinateSystem > TypeGroupConverter::createCoordinateSystem()
if( maTypeInfo.mbPolarCoordSystem )
{
if( mb3dChart )
- xCoordSystem = css::chart2::PolarCoordinateSystem2d::create(xContext);
- else
xCoordSystem = css::chart2::PolarCoordinateSystem3d::create(xContext);
+ else
+ xCoordSystem = css::chart2::PolarCoordinateSystem2d::create(xContext);
}
else
{
diff --git a/sc/source/filter/excel/xichart.cxx b/sc/source/filter/excel/xichart.cxx
index 51e00c12fb28..060aa51dd977 100644
--- a/sc/source/filter/excel/xichart.cxx
+++ b/sc/source/filter/excel/xichart.cxx
@@ -2335,9 +2335,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
{