summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-11-26 21:38:23 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-11-26 21:47:45 +0000
commit84bc8e01ae6252f07b641ecc96b510faed21cfe7 (patch)
treee363e5ef2627454b7e0a282cddd16145ecf707e7
parent90564ef4cd96aae32f70eb842c1adc7b39bffd4e (diff)
cppcheck: use prefix variant
-rw-r--r--xmloff/source/core/nmspmap.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/core/nmspmap.cxx b/xmloff/source/core/nmspmap.cxx
index 3e09660c08..e4534941ec 100644
--- a/xmloff/source/core/nmspmap.cxx
+++ b/xmloff/source/core/nmspmap.cxx
@@ -81,7 +81,7 @@ SvXMLNamespaceMap::~SvXMLNamespaceMap()
while ( aIter != aEnd )
{
const OUString *pString = (*aIter).first.second;
- aIter++;
+ ++aIter;
delete pString;
}
}
@@ -171,7 +171,7 @@ sal_uInt16 SvXMLNamespaceMap::GetKeyByName( const OUString& rName ) const
nKey = (*aIter).second->nKey;
break;
}
- aIter++;
+ ++aIter;
}
return nKey;
}