diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-01-01 21:21:56 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-01-01 21:21:56 +0000 |
commit | 181de27b2e3dea1931aeb24f15407a26265d87ce (patch) | |
tree | ebb4a1bb98c05155837e6226e3f2d271e44e835e /cui/source | |
parent | efc67536bb52442599f1f35e1408231cb1aeba02 (diff) |
cppcheck: prefer prefix variant
Diffstat (limited to 'cui/source')
-rw-r--r-- | cui/source/dialogs/SpellDialog.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cui/source/dialogs/SpellDialog.cxx b/cui/source/dialogs/SpellDialog.cxx index 55717e723a64..871a59925111 100644 --- a/cui/source/dialogs/SpellDialog.cxx +++ b/cui/source/dialogs/SpellDialog.cxx @@ -1160,7 +1160,7 @@ bool SpellDialog::GetNextSentence_Impl(bool bUseSavedSentence, bool bRecheck) // hidden text has to be ignored if(!aStart->bIsHidden) sText += aStart->sText; - aStart++; + ++aStart; } aSentenceED.SetText(sText); aStart = aSentence.begin(); @@ -1202,7 +1202,7 @@ bool SpellDialog::GetNextSentence_Impl(bool bUseSavedSentence, bool bRecheck) aSentenceED.SetAttrib( SpellLanguageAttrib(aStart->eLanguage), 0, (USHORT) nStartPosition, (USHORT) nEndPosition ); nStartPosition = nEndPosition; } - aStart++; + ++aStart; } //the edit field needs to be modified to apply the change from the ApplyChangeAllList if(!bHasReplaced) @@ -1242,7 +1242,7 @@ bool SpellDialog::ApplyChangeAllList_Impl(SpellPortions& rSentence, bool &bHasRe } else if( aStart->bIsGrammarError ) bRet = true; - aStart++; + ++aStart; } return bRet; } |