[Libreoffice-commits] .: xmloff/source

Caolán McNamara caolan at kemper.freedesktop.org
Sat Jan 1 13:29:45 PST 2011


 xmloff/source/script/XMLEventsImportContext.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit a19df23de529b4710e37f8381538ea5a74020eb5
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sat Jan 1 21:29:39 2011 +0000

    cppcheck: prefer prefix variant

diff --git a/xmloff/source/script/XMLEventsImportContext.cxx b/xmloff/source/script/XMLEventsImportContext.cxx
index 59939ba..928dac8 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


More information about the Libreoffice-commits mailing list