From 578ff4dfd6f0d63670dfb21425b6b81fdc87d852 Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Sun, 1 Dec 2013 04:45:36 +0100 Subject: [PATCH 016/109] 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 Tested-by: Andras Timar --- oox/source/drawingml/chart/typegroupconverter.cxx | 4 ++-- sc/source/filter/excel/xichart.cxx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/oox/source/drawingml/chart/typegroupconverter.cxx b/oox/source/drawingml/chart/typegroupconverter.cxx index 12d086d..589fb62 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 e07d1d4..10d858a 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 { -- 1.8.4.2