summaryrefslogtreecommitdiff
path: root/writerfilter
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2013-04-01 20:21:48 +0200
committerJulien Nabet <serval2412@yahoo.fr>2013-04-01 20:22:02 +0200
commit25e5d697bca38e4ac8aa6a7a9030ffbf36682cac (patch)
tree03c48787557cd290deba5a8ab09083e6d247062c /writerfilter
parent85a499d50fe17ff19b43f5a69b9c809ace18401e (diff)
Prefer prefix ++/-- operators for non-primitive types
Change-Id: If5950affaff1537362b1e5c2e3791d04c5371306
Diffstat (limited to 'writerfilter')
-rw-r--r--writerfilter/source/ooxml/OOXMLFastContextHandler.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx b/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx
index 5865846cd260..81ac2717b4a8 100644
--- a/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx
+++ b/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx
@@ -2256,14 +2256,13 @@ OOXMLFastContextHandlerWrapper::lcl_createFastChildContext
debug_logger->startElement("Wrapper-createChildContext");
debug_logger->attribute("token", fastTokenToId(Element));
- set<Id>::const_iterator aIt(mMyNamespaces.begin());
- while (aIt != mMyNamespaces.end())
+ const set<Id>::const_iterator aEnd(mMyNamespaces.end());
+ for (set<Id>::const_iterator aIt(mMyNamespaces.begin());
+ aIt != aEnd; ++aIt)
{
debug_logger->startElement("namespace");
debug_logger->attribute("id", fastTokenToId(*aIt));
debug_logger->endElement();
-
- aIt++;
}
debug_logger->endElement();