[Libreoffice-commits] core.git: chart2/source
Julien Nabet
serval2412 at yahoo.fr
Mon Jun 17 13:40:01 PDT 2013
chart2/source/view/charttypes/Splines.cxx | 6 ++++--
chart2/source/view/main/ChartItemPool.cxx | 2 +-
2 files changed, 5 insertions(+), 3 deletions(-)
New commits:
commit ba2cf5539890eeb23182dd2c64b5cf359b80c885
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Mon Jun 17 22:39:30 2013 +0200
cppcheck: fix some uninitMemberVar in chart2 part
Change-Id: Idfccf39fc4b34a5e4c2cb0bed4bcd399a73029af
diff --git a/chart2/source/view/charttypes/Splines.cxx b/chart2/source/view/charttypes/Splines.cxx
index a288f12..20714d4 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 b383142..7cbeea5 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)
{
}
More information about the Libreoffice-commits
mailing list