[Libreoffice-commits] .: binfilter/bf_xmloff
Caolán McNamara
caolan at kemper.freedesktop.org
Sat Jan 1 13:13:08 PST 2011
binfilter/bf_xmloff/source/core/xmloff_nmspmap.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 15e21dcfbc0dc531d914cd8faf7bed3c6ba4f782
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Jan 1 21:12:00 2011 +0000
cppcheck: prefer prefix variant
diff --git a/binfilter/bf_xmloff/source/core/xmloff_nmspmap.cxx b/binfilter/bf_xmloff/source/core/xmloff_nmspmap.cxx
index 93423a8..a3ae555 100644
--- a/binfilter/bf_xmloff/source/core/xmloff_nmspmap.cxx
+++ b/binfilter/bf_xmloff/source/core/xmloff_nmspmap.cxx
@@ -74,7 +74,7 @@ SvXMLNamespaceMap::~SvXMLNamespaceMap()
while ( aIter != aEnd )
{
const OUString *pString = (*aIter).first.second;
- aIter++;
+ ++aIter;
delete pString;
}
}
@@ -148,7 +148,7 @@ sal_uInt16 SvXMLNamespaceMap::GetKeyByName( const OUString& rName ) const
nKey = (*aIter).second->nKey;
break;
}
- aIter++;
+ ++aIter;
}
return nKey;
}
More information about the Libreoffice-commits
mailing list