diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2011-09-15 22:01:51 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2011-09-15 22:03:06 +0200 |
commit | a5745e9e730ad39b590781f38884479072ee6f9d (patch) | |
tree | 401da58b8c0499609c9a02193409dd91fb35bc2d /writerperfect | |
parent | 8916f842e04ab52ee6efe0bdeba805f781a72851 (diff) |
Some cppcheck cleaning
Diffstat (limited to 'writerperfect')
-rw-r--r-- | writerperfect/source/filter/OdgGenerator.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/writerperfect/source/filter/OdgGenerator.cxx b/writerperfect/source/filter/OdgGenerator.cxx index 795e3acc81d1..9b12cbc26536 100644 --- a/writerperfect/source/filter/OdgGenerator.cxx +++ b/writerperfect/source/filter/OdgGenerator.cxx @@ -345,19 +345,19 @@ OdgGeneratorPrivate::~OdgGeneratorPrivate() } for (std::map<WPXString, ParagraphStyle*, ltstr>::iterator iterParagraphStyles = mParagraphStyles.begin(); - iterParagraphStyles != mParagraphStyles.end(); iterParagraphStyles++) + iterParagraphStyles != mParagraphStyles.end(); ++iterParagraphStyles) { delete(iterParagraphStyles->second); } for (std::map<WPXString, SpanStyle*, ltstr>::iterator iterSpanStyles = mSpanStyles.begin(); - iterSpanStyles != mSpanStyles.end(); iterSpanStyles++) + iterSpanStyles != mSpanStyles.end(); ++iterSpanStyles) { delete(iterSpanStyles->second); } for (std::map<WPXString, FontStyle *, ltstr>::iterator iterFont = mFontStyles.begin(); - iterFont != mFontStyles.end(); iterFont++) + iterFont != mFontStyles.end(); ++iterFont) { delete(iterFont->second); } @@ -458,7 +458,7 @@ OdgGenerator::~OdgGenerator() TagOpenElement("office:font-face-decls").write(mpImpl->mpHandler); for (std::map<WPXString, FontStyle *, ltstr>::iterator iterFont = mpImpl->mFontStyles.begin(); - iterFont != mpImpl->mFontStyles.end(); iterFont++) + iterFont != mpImpl->mFontStyles.end(); ++iterFont) { iterFont->second->write(mpImpl->mpHandler); } @@ -484,12 +484,12 @@ OdgGenerator::~OdgGenerator() (*iterGraphicsAutomaticStyles)->write(mpImpl->mpHandler); } for (std::map<WPXString, ParagraphStyle*, ltstr>::iterator iterParagraphStyles = mpImpl->mParagraphStyles.begin(); - iterParagraphStyles != mpImpl->mParagraphStyles.end(); iterParagraphStyles++) + iterParagraphStyles != mpImpl->mParagraphStyles.end(); ++iterParagraphStyles) { (iterParagraphStyles->second)->write(mpImpl->mpHandler); } for (std::map<WPXString, SpanStyle*, ltstr>::iterator iterSpanStyles = mpImpl->mSpanStyles.begin(); - iterSpanStyles != mpImpl->mSpanStyles.end(); iterSpanStyles++) + iterSpanStyles != mpImpl->mSpanStyles.end(); ++iterSpanStyles) { (iterSpanStyles->second)->write(mpImpl->mpHandler); } |