Kaydet (Commit) 95314b1f authored tarafından Tomaž Vajngerl's avatar Tomaž Vajngerl

Fix problem with intercept = 0.0

Change-Id: Ieeea09d9f93a4405ec6c33c1a646b0940d5d17a2
üst 36263596
...@@ -987,8 +987,7 @@ void VSeriesPlotter::createRegressionCurvesShapes( VDataSeries& rVDataSeries, ...@@ -987,8 +987,7 @@ void VSeriesPlotter::createRegressionCurvesShapes( VDataSeries& rVDataSeries,
double aExtrapolateForward = 0.0; double aExtrapolateForward = 0.0;
double aExtrapolateBackward = 0.0; double aExtrapolateBackward = 0.0;
sal_Bool aForceIntercept = false; sal_Bool aForceIntercept = false;
double aInterceptValue; double aInterceptValue = 0.0;
rtl::math::setNan(&aInterceptValue);
if ( xProperties.is() ) if ( xProperties.is() )
{ {
......
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