[Libreoffice-commits] .: lotuswordpro/source
Caolán McNamara
caolan at kemper.freedesktop.org
Sun Dec 19 07:48:37 PST 2010
lotuswordpro/source/filter/lwptblformula.cxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit fd93ac7907a0256a06f148f25a95aad356c51648
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sun Dec 19 15:47:45 2010 +0000
cppcheck: prefer prefix form
diff --git a/lotuswordpro/source/filter/lwptblformula.cxx b/lotuswordpro/source/filter/lwptblformula.cxx
index 4461ec7..4abe47b 100644
--- a/lotuswordpro/source/filter/lwptblformula.cxx
+++ b/lotuswordpro/source/filter/lwptblformula.cxx
@@ -628,7 +628,7 @@ String LwpFormulaFunc::ToString(LwpTableLayout* pCellsMap)
//Append args
vector<LwpFormulaArg*>::iterator aItr;
- for (aItr=m_aArgs.begin();aItr!=m_aArgs.end();aItr++)
+ for (aItr=m_aArgs.begin();aItr!=m_aArgs.end();++aItr)
{
aFormula.Append( (*aItr)->ToArgString(pCellsMap) );
aFormula.AppendAscii("|");//separator
@@ -660,7 +660,7 @@ String LwpFormulaOp::ToString(LwpTableLayout* pCellsMap)
if (2==m_aArgs.size())
{
vector<LwpFormulaArg*>::iterator aItr = m_aArgs.end();
- aItr--;
+ --aItr;
aFormula.Append( (*aItr)->ToArgString(pCellsMap) );
aFormula.AppendAscii(" ");
@@ -670,7 +670,7 @@ String LwpFormulaOp::ToString(LwpTableLayout* pCellsMap)
aFormula.AppendAscii(" ");
- aItr--;
+ --aItr;
aFormula.Append( (*aItr)->ToArgString(pCellsMap) );
}
else
More information about the Libreoffice-commits
mailing list