[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - oox/source sc/source

Markus Mohrhard markus.mohrhard at googlemail.com
Sat Nov 30 17:47:25 PST 2013


 oox/source/drawingml/chart/typegroupconverter.cxx |    4 ++--
 sc/source/filter/excel/xichart.cxx                |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 80373a6969fd8d3c19231041e465372cf03f53f2
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Sun Dec 1 04:45:36 2013 +0100

    fix 2D vs 3D coordinatesystem regression, fdo#67300
    
    regression from 088e86b865062dd4cc5ba0c85c6068dea62238db

diff --git a/oox/source/drawingml/chart/typegroupconverter.cxx b/oox/source/drawingml/chart/typegroupconverter.cxx
index bf8e166..b87fc45 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 51e00c1..060aa51 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
     {


More information about the Libreoffice-commits mailing list