diff options
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/view/charttypes/Splines.cxx | 6 | ||||
-rw-r--r-- | chart2/source/view/main/ChartItemPool.cxx | 2 |
2 files changed, 5 insertions, 3 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(); diff --git a/chart2/source/view/main/ChartItemPool.cxx b/chart2/source/view/main/ChartItemPool.cxx index b383142be036..7cbeea50fbda 100644 --- a/chart2/source/view/main/ChartItemPool.cxx +++ b/chart2/source/view/main/ChartItemPool.cxx @@ -175,7 +175,7 @@ ChartItemPool::ChartItemPool(): } ChartItemPool::ChartItemPool(const ChartItemPool& rPool): - SfxItemPool(rPool) + SfxItemPool(rPool), ppPoolDefaults(0), pItemInfos(0) { } |