diff options
author | Tomaž Vajngerl <quikee@gmail.com> | 2013-07-02 18:38:45 +0200 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2013-07-03 21:46:48 +0200 |
commit | 95314b1fd4ccca11276ebd11aa2f47b9d436d29e (patch) | |
tree | 58edce736bc81d9955687625b69fc3068c91e7c1 /chart2/source | |
parent | 362635961a254f80581b31ba7d6957dc111d3515 (diff) |
Fix problem with intercept = 0.0
Change-Id: Ieeea09d9f93a4405ec6c33c1a646b0940d5d17a2
Diffstat (limited to 'chart2/source')
-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() ) { |