summaryrefslogtreecommitdiff
path: root/writerperfect/source
diff options
context:
space:
mode:
authorjulien <julien@julienPC>2011-12-25 13:58:55 +0100
committerjulien <julien@julienPC>2011-12-25 13:58:55 +0100
commit372ea70b5b42504bd42531d9915a2a71a7e30de8 (patch)
tree14bd3d19d49b65c4357fd7704bbd8f77a2b622e8 /writerperfect/source
parent4a8626c6cc52125d15cfbc59de74cf937a24de0a (diff)
Some cppcheck cleaning
Diffstat (limited to 'writerperfect/source')
-rw-r--r--writerperfect/source/filter/TextRunStyle.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/writerperfect/source/filter/TextRunStyle.cxx b/writerperfect/source/filter/TextRunStyle.cxx
index 6cc73783e460..abce54551e22 100644
--- a/writerperfect/source/filter/TextRunStyle.cxx
+++ b/writerperfect/source/filter/TextRunStyle.cxx
@@ -195,7 +195,7 @@ void ParagraphStyleManager::clean()
void ParagraphStyleManager::write(OdfDocumentHandler *pHandler) const
{
for (std::map<WPXString, shared_ptr<ParagraphStyle>, ltstr>::const_iterator iter = mStyleHash.begin();
- iter != mStyleHash.end(); iter++)
+ iter != mStyleHash.end(); ++iter)
{
if (strcmp(iter->second->getName().cstr(), "Standard") == 0)
continue;
@@ -254,7 +254,7 @@ void SpanStyleManager::clean()
void SpanStyleManager::write(OdfDocumentHandler *pHandler) const
{
for (std::map<WPXString, shared_ptr<SpanStyle>, ltstr>::const_iterator iter = mStyleHash.begin();
- iter != mStyleHash.end(); iter++)
+ iter != mStyleHash.end(); ++iter)
{
(iter->second)->write(pHandler);
}