diff options
Diffstat (limited to 'chart2/source/view/charttypes/Splines.cxx')
-rw-r--r-- | chart2/source/view/charttypes/Splines.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/chart2/source/view/charttypes/Splines.cxx b/chart2/source/view/charttypes/Splines.cxx index a288f12ec453..20714d485008 100644 --- a/chart2/source/view/charttypes/Splines.cxx +++ b/chart2/source/view/charttypes/Splines.cxx @@ -125,7 +125,8 @@ lcl_SplineCalculation::lcl_SplineCalculation( m_fYp1( fY1FirstDerivation ), m_fYpN( fYnFirstDerivation ), m_nKLow( 0 ), - m_nKHigh( rSortedPoints.size() - 1 ) + m_nKHigh( rSortedPoints.size() - 1 ), + m_fLastInterpolatedValue(0.0) { ::rtl::math::setInf( &m_fLastInterpolatedValue, sal_False ); Calculate(); @@ -139,7 +140,8 @@ lcl_SplineCalculation::lcl_SplineCalculation( m_fYp1( 0.0 ), /*dummy*/ m_fYpN( 0.0 ), /*dummy*/ m_nKLow( 0 ), - m_nKHigh( rSortedPoints.size() - 1 ) + m_nKHigh( rSortedPoints.size() - 1 ), + m_fLastInterpolatedValue(0.0) { ::rtl::math::setInf( &m_fLastInterpolatedValue, sal_False ); CalculatePeriodic(); |