[Libreoffice-commits] .: writerperfect/source
Julien Nabet
serval2412 at kemper.freedesktop.org
Sun Dec 25 06:07:23 PST 2011
writerperfect/source/filter/TextRunStyle.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 372ea70b5b42504bd42531d9915a2a71a7e30de8
Author: julien <julien at julienPC>
Date: Sun Dec 25 13:58:55 2011 +0100
Some cppcheck cleaning
diff --git a/writerperfect/source/filter/TextRunStyle.cxx b/writerperfect/source/filter/TextRunStyle.cxx
index 6cc7378..abce545 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);
}
More information about the Libreoffice-commits
mailing list