diff options
-rw-r--r-- | chart2/source/view/charttypes/VSeriesPlotter.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/chart2/source/view/charttypes/VSeriesPlotter.cxx b/chart2/source/view/charttypes/VSeriesPlotter.cxx index 911438130cba..e1f1fe1b9456 100644 --- a/chart2/source/view/charttypes/VSeriesPlotter.cxx +++ b/chart2/source/view/charttypes/VSeriesPlotter.cxx @@ -987,8 +987,7 @@ void VSeriesPlotter::createRegressionCurvesShapes( VDataSeries& rVDataSeries, double aExtrapolateForward = 0.0; double aExtrapolateBackward = 0.0; sal_Bool aForceIntercept = false; - double aInterceptValue; - rtl::math::setNan(&aInterceptValue); + double aInterceptValue = 0.0; if ( xProperties.is() ) { |