summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-01-01 21:29:39 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-01-01 21:29:39 +0000
commita19df23de529b4710e37f8381538ea5a74020eb5 (patch)
treecc06d0a5a6aeb67f3bcb31e34646f0f269e2f419 /xmloff
parentcdfea0d5ff955feb6ba51f77fe510d934e1dacee (diff)
cppcheck: prefer prefix variant
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/script/XMLEventsImportContext.cxx4
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