[Libreoffice-commits] .: sc/source
Julien Nabet
serval2412 at kemper.freedesktop.org
Sun May 8 00:03:25 PDT 2011
sc/source/core/tool/charthelper.cxx | 2 +-
sc/source/core/tool/scmatrix.cxx | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
New commits:
commit b4c3a39357efcfd5dfc8f558404ba24c64d911d4
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Sun May 8 09:02:30 2011 +0200
Fix simple cppcheck warning
diff --git a/sc/source/core/tool/charthelper.cxx b/sc/source/core/tool/charthelper.cxx
index 9f75c5d..bc14571 100644
--- a/sc/source/core/tool/charthelper.cxx
+++ b/sc/source/core/tool/charthelper.cxx
@@ -161,7 +161,7 @@ void ScChartHelper::AdjustRangesOfChartsOnDestinationPage( ScDocument* pSrcDoc,
pDestDoc->GetChartRanges( aChartName, aRangesVector, pSrcDoc );
::std::vector< ScRangeList >::iterator aIt( aRangesVector.begin() );
- for( ; aIt!=aRangesVector.end(); aIt++ )
+ for( ; aIt!=aRangesVector.end(); ++aIt )
{
ScRangeList& rScRangeList( *aIt );
lcl_AdjustRanges( rScRangeList, nSrcTab, nDestTab, pDestDoc->GetTableCount() );
diff --git a/sc/source/core/tool/scmatrix.cxx b/sc/source/core/tool/scmatrix.cxx
index b2f4826..31e35f1 100644
--- a/sc/source/core/tool/scmatrix.cxx
+++ b/sc/source/core/tool/scmatrix.cxx
@@ -244,6 +244,7 @@ private:
ScMatrixImpl::ScMatrixImpl(SCSIZE nC, SCSIZE nR, ScMatrix::DensityType eType) :
maMat(nR, nC, toMddsDensityType(eType)),
meType(eType),
+ pErrorInterpreter(NULL),
mbCloneIfConst(true)
{
}
More information about the Libreoffice-commits
mailing list