diff options
Diffstat (limited to 'chart2/source/model/template/PieChartType.cxx')
-rw-r--r-- | chart2/source/model/template/PieChartType.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/model/template/PieChartType.cxx b/chart2/source/model/template/PieChartType.cxx index 4cccd4bedcde..a4c98413fe7d 100644 --- a/chart2/source/model/template/PieChartType.cxx +++ b/chart2/source/model/template/PieChartType.cxx @@ -34,7 +34,7 @@ #include "PropertyHelper.hxx" #include "macros.hxx" #include "PolarCoordinateSystem.hxx" -#include "Scaling.hxx" +#include "AxisHelper.hxx" #include "servicenames_charttypes.hxx" #include "ContainerHelper.hxx" #include "AxisIndexDefines.hxx" @@ -156,7 +156,7 @@ Reference< chart2::XCoordinateSystem > SAL_CALL //hhhh todo make axis invisible chart2::ScaleData aScaleData = xAxis->getScaleData(); - aScaleData.Scaling = new LinearScaling( 1.0, 0.0 ); + aScaleData.Scaling = AxisHelper::createLinearScaling(); aScaleData.AxisType = chart2::AxisType::REALNUMBER; if( i == 0 ) |