summaryrefslogtreecommitdiff
path: root/package/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-11-28 12:29:53 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-11-28 12:29:53 +0000
commit5078c9fcebb1e54efafbd69d17ece8746438c413 (patch)
treee9f05d6a80987191cf28799c6ec4b92becbde110 /package/source
parent0a4e8bfe16a3168298915034b2f2aa2e40d3cefa (diff)
cppcheck: use prefix variant
Diffstat (limited to 'package/source')
-rw-r--r--package/source/manifest/ManifestImport.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/source/manifest/ManifestImport.cxx b/package/source/manifest/ManifestImport.cxx
index be0e540a11da..543a290b5857 100644
--- a/package/source/manifest/ManifestImport.cxx
+++ b/package/source/manifest/ManifestImport.cxx
@@ -135,7 +135,7 @@ void SAL_CALL ManifestImport::startElement( const OUString& aName, const uno::Re
else if ( aStack.size() > 1 )
{
ManifestStack::reverse_iterator aIter = aStack.rbegin();
- aIter++;
+ ++aIter;
if ( aIter->m_aConvertedName.equals( sFileEntryElement ) )
{
@@ -317,7 +317,7 @@ void SAL_CALL ManifestImport::setDocumentLocator( const uno::Reference< xml::sax
::rtl::OUString ManifestImport::ConvertName( const ::rtl::OUString& aName )
{
::rtl::OUString aConvertedName;
- for ( ManifestStack::reverse_iterator aIter = aStack.rbegin(); !aConvertedName.getLength() && aIter != aStack.rend(); aIter++ )
+ for ( ManifestStack::reverse_iterator aIter = aStack.rbegin(); !aConvertedName.getLength() && aIter != aStack.rend(); ++aIter )
{
if ( !aIter->m_aNamespaces.empty() )
aConvertedName = ConvertNameWithNamespace( aName, aIter->m_aNamespaces );