[Libreoffice-commits] .: binfilter/bf_xmloff
Caolán McNamara
caolan at kemper.freedesktop.org
Sat Jan 1 12:45:53 PST 2011
binfilter/bf_xmloff/source/script/xmloff_XMLEventsImportContext.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 68a9300d9aec30c9c6d04f6b885a3a30961991cf
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Jan 1 20:45:48 2011 +0000
cppcheck: prefer prefix variant
diff --git a/binfilter/bf_xmloff/source/script/xmloff_XMLEventsImportContext.cxx b/binfilter/bf_xmloff/source/script/xmloff_XMLEventsImportContext.cxx
index f795ca7..553b720 100644
--- a/binfilter/bf_xmloff/source/script/xmloff_XMLEventsImportContext.cxx
+++ b/binfilter/bf_xmloff/source/script/xmloff_XMLEventsImportContext.cxx
@@ -165,7 +165,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);
@@ -187,7 +187,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