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 | a19df23de529b4710e37f8381538ea5a74020eb5 (patch) | |
tree | cc06d0a5a6aeb67f3bcb31e34646f0f269e2f419 /xmloff | |
parent | cdfea0d5ff955feb6ba51f77fe510d934e1dacee (diff) |
cppcheck: prefer prefix variant
Diffstat (limited to 'xmloff')
-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 59939ba313..928dac8ed5 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 |