Some cppcheck cleaning

This commit is contained in:
julien 2011-12-25 13:58:55 +01:00
parent 4a8626c6cc
commit 372ea70b5b

View file

@ -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);
}