Kaydet (Commit) 120dca26 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

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

regression from 088e86b8
üst 4b0d5b7c
......@@ -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
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment