diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-12-19 15:47:45 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-12-19 15:47:45 +0000 |
commit | 3a9e1e988e76d92761bf987fced0d21395a97fec (patch) | |
tree | 589adc1dd995606a91862bcfdfeb406443e8902b /lotuswordpro/source/filter/lwptblformula.cxx | |
parent | 658a7aebed34bc1ae316244af94da1ea5adfcd33 (diff) |
cppcheck: prefer prefix form
Diffstat (limited to 'lotuswordpro/source/filter/lwptblformula.cxx')
-rw-r--r-- | lotuswordpro/source/filter/lwptblformula.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lotuswordpro/source/filter/lwptblformula.cxx b/lotuswordpro/source/filter/lwptblformula.cxx index 3463c5f4e850..d1f08fdba3b2 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 |