diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-01-01 21:29:39 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-01-01 21:29:39 +0000 |
commit | aa1f8d97e73fda0440217a0cd6aedc710d0eef13 (patch) | |
tree | 2148f62901dd83bc043a5d1854176ec26f05e9fa /xmloff/source/script | |
parent | 40cbc4c42d75b8453143f6a2f3b0f1f0762e15b6 (diff) |
cppcheck: prefer prefix variant
Diffstat (limited to 'xmloff/source/script')
-rw-r--r-- | xmloff/source/script/XMLEventsImportContext.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/script/XMLEventsImportContext.cxx b/xmloff/source/script/XMLEventsImportContext.cxx index ead302e8d4a7..8ef1cc9e6ce0 100644 --- a/xmloff/source/script/XMLEventsImportContext.cxx +++ b/xmloff/source/script/XMLEventsImportContext.cxx @@ -172,7 +172,7 @@ void XMLEventsImportContext::SetEvents( EventsVector::iterator aEnd = aCollectEvents.end(); for(EventsVector::iterator aIter = aCollectEvents.begin(); aIter != aEnd; - aIter++) + ++aIter) { AddEventValues(aIter->first, aIter->second); // EventNameValuesPair* pPair = &(*aIter); @@ -194,7 +194,7 @@ sal_Bool XMLEventsImportContext::GetEventSequence( EventsVector::iterator aIter = aCollectEvents.begin(); while( (aIter != aCollectEvents.end()) && (aIter->first != rName) ) { - aIter++; + ++aIter; } // if we're not at the end, set the sequence |