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

regression from 088e86b865
This commit is contained in:
Markus Mohrhard
2013-12-01 04:45:36 +01:00
parent 4b0d5b7cb0
commit 120dca2608
2 changed files with 4 additions and 4 deletions

View File

@@ -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
{

View File

@@ -2339,9 +2339,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
{