summaryrefslogtreecommitdiff
path: root/writerfilter
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-01-06 13:48:51 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-01-06 13:48:51 +0000
commitac6d68ccfc652fada83a1353c075a8d858403a22 (patch)
treea196f183e9c2492519c13bcbc42813c1b564560c /writerfilter
parent4898581f826b8438312fe4f31a3fe05d9f9ddece (diff)
cppunit: prefer prefix variant
Diffstat (limited to 'writerfilter')
-rw-r--r--writerfilter/source/ooxml/OOXMLPropertySetImpl.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/writerfilter/source/ooxml/OOXMLPropertySetImpl.cxx b/writerfilter/source/ooxml/OOXMLPropertySetImpl.cxx
index b81dfd94b837..1ccfe9545b58 100644
--- a/writerfilter/source/ooxml/OOXMLPropertySetImpl.cxx
+++ b/writerfilter/source/ooxml/OOXMLPropertySetImpl.cxx
@@ -442,7 +442,7 @@ void OOXMLPropertySetImpl::resolve(Properties & rHandler)
}
#endif
- aIt++;
+ ++aIt;
}
}
@@ -498,7 +498,7 @@ void OOXMLPropertySetImpl::add(OOXMLPropertySet::Pointer_t pPropertySet)
{
mProperties.resize(mProperties.size() + pSet->mProperties.size());
for (OOXMLProperties_t::iterator aIt = pSet->mProperties.begin();
- aIt != pSet->mProperties.end(); aIt++)
+ aIt != pSet->mProperties.end(); ++aIt)
add(*aIt);
}
}
@@ -525,7 +525,7 @@ string OOXMLPropertySetImpl::toString()
OOXMLProperties_t::iterator aItBegin = begin();
OOXMLProperties_t::iterator aItEnd = end();
- for (OOXMLProperties_t::iterator aIt = aItBegin; aIt != aItEnd; aIt++)
+ for (OOXMLProperties_t::iterator aIt = aItBegin; aIt != aItEnd; ++aIt)
{
if (aIt != aItBegin)
sResult += ", ";
@@ -718,7 +718,7 @@ void OOXMLTableImpl::resolve(Table & rTable)
pTable->entry(nPos, pProperties);
++nPos;
- it++;
+ ++it;
}
}