diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2011-05-08 09:02:30 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2011-05-08 09:02:30 +0200 |
commit | b4c3a39357efcfd5dfc8f558404ba24c64d911d4 (patch) | |
tree | 0c944af41a6a9241346052dfc9265c1b293d6ced | |
parent | ad0cf35eff5cf0c7eca870ddd738922431979db7 (diff) |
Fix simple cppcheck warning
-rw-r--r-- | sc/source/core/tool/charthelper.cxx | 2 | ||||
-rw-r--r-- | sc/source/core/tool/scmatrix.cxx | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/core/tool/charthelper.cxx b/sc/source/core/tool/charthelper.cxx index 9f75c5dd3..bc145716f 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 b2f482647..31e35f1ee 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) { } |