fix 2D vs 3D coordinatesystem regression, fdo#67300
regression from 088e86b865
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
@@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user