summaryrefslogtreecommitdiff
path: root/rdbmaker
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-01-01 21:34:19 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-01-01 21:34:19 +0000
commit009ab7b6e48b69fb6f81934893f299553da328c8 (patch)
tree729921635d507c6c0380a5546fdc73c42f2cf4c0 /rdbmaker
parent5bbb8daba0a5d5728917ab1481392ff2947a5519 (diff)
cppcheck: prefer prefix variant
Diffstat (limited to 'rdbmaker')
-rw-r--r--rdbmaker/source/codemaker/typemanager.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/rdbmaker/source/codemaker/typemanager.cxx b/rdbmaker/source/codemaker/typemanager.cxx
index 382e74135d5a..f4fffecb3d31 100644
--- a/rdbmaker/source/codemaker/typemanager.cxx
+++ b/rdbmaker/source/codemaker/typemanager.cxx
@@ -116,7 +116,7 @@ sal_Bool RegistryTypeManager::init(sal_Bool bMerged, const StringVector& regFile
freeRegistries();
return sal_False;
}
- iter++;
+ ++iter;
}
if (m_pImpl->m_isMerged)
@@ -145,7 +145,7 @@ sal_Bool RegistryTypeManager::init(sal_Bool bMerged, const StringVector& regFile
return sal_False;
}
}
- iter++;
+ ++iter;
}
m_pImpl->m_pMergedRegistry = pTmpReg;
@@ -238,7 +238,7 @@ void RegistryTypeManager::freeRegistries()
{
delete *iter;
- iter++;
+ ++iter;
}
}
@@ -265,7 +265,7 @@ RegistryKey RegistryTypeManager::searchTypeKey(const OString& name)
break;
}
- iter++;
+ ++iter;
}
}