diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-11-26 21:38:23 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-11-26 21:47:45 +0000 |
commit | 84bc8e01ae6252f07b641ecc96b510faed21cfe7 (patch) | |
tree | e363e5ef2627454b7e0a282cddd16145ecf707e7 /xmloff/source/core | |
parent | 90564ef4cd96aae32f70eb842c1adc7b39bffd4e (diff) |
cppcheck: use prefix variant
Diffstat (limited to 'xmloff/source/core')
-rw-r--r-- | xmloff/source/core/nmspmap.cxx | 4 |
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; } |