chart2/source/view/charttypes/VSeriesPlotter.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit d83394781b52fa0a97ceb431646ad48c63437aae
Author: Tomaž Vajngerl <[email protected]>
Date:   Tue Jul 2 18:38:45 2013 +0200

    Fix problem with intercept = 0.0
    
    Change-Id: Ieeea09d9f93a4405ec6c33c1a646b0940d5d17a2

diff --git a/chart2/source/view/charttypes/VSeriesPlotter.cxx 
b/chart2/source/view/charttypes/VSeriesPlotter.cxx
index 6cb69a5..d9edbc0 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() )
         {
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to