From 84bc8e01ae6252f07b641ecc96b510faed21cfe7 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 26 Nov 2010 21:38:23 +0000 Subject: cppcheck: use prefix variant --- xmloff/source/core/nmspmap.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xmloff') 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; } -- cgit v1.2.3