[Libreoffice-commits] .: binfilter/bf_sc
Caolán McNamara
caolan at kemper.freedesktop.org
Sat Jan 1 12:55:58 PST 2011
binfilter/bf_sc/source/filter/xml/sc_xmlsubti.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 61b915587642a84893c93b2816d24d7443d56233
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Jan 1 20:55:53 2011 +0000
cppcheck: prefer prefix variant
diff --git a/binfilter/bf_sc/source/filter/xml/sc_xmlsubti.cxx b/binfilter/bf_sc/source/filter/xml/sc_xmlsubti.cxx
index b5889aa..0a80851 100644
--- a/binfilter/bf_sc/source/filter/xml/sc_xmlsubti.cxx
+++ b/binfilter/bf_sc/source/filter/xml/sc_xmlsubti.cxx
@@ -108,7 +108,7 @@ sal_Int32 ScMyTableData::GetChangedCols(const sal_Int32 nFromIndex, const sal_In
{
ScMysalIntList::const_iterator i = nChangedCols.begin();
while ((i != nChangedCols.end()) && ((*i < nToIndex) && !(*i >= nFromIndex)))
- i++;
+ ++i;
if (i == nChangedCols.end())
return -1;
else
@@ -124,7 +124,7 @@ void ScMyTableData::SetChangedCols(const sal_Int32 nValue)
while ((i != nChangedCols.end()) && (*i < nValue))
{
sal_Int32 nTemp = *i;
- i++;
+ ++i;
}
if ((i == nChangedCols.end()) || (*i != nValue))
nChangedCols.insert(i, nValue);
More information about the Libreoffice-commits
mailing list