summaryrefslogtreecommitdiff
path: root/framework/source/services
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-12-23 21:05:59 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-12-23 21:05:59 +0000
commitca86e8ae388c3c7adbdd25dfe617a836aca9ab58 (patch)
tree6ea1c69ee57d2f7ceaefa36faedf4c9a2e7e25f8 /framework/source/services
parent040fb73d22ba1fdb3e71417f28222ac6689ffc37 (diff)
cppcheck: prefer prefix variant
Diffstat (limited to 'framework/source/services')
-rw-r--r--framework/source/services/substitutepathvars.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/framework/source/services/substitutepathvars.cxx b/framework/source/services/substitutepathvars.cxx
index 29746ee42ce6..22989307147a 100644
--- a/framework/source/services/substitutepathvars.cxx
+++ b/framework/source/services/substitutepathvars.cxx
@@ -639,7 +639,7 @@ SubstitutePathVariables::SubstitutePathVariables( const Reference< XMultiService
// Sort user variables to path length
SubstituteVariables::const_iterator pIter;
- for ( pIter = m_aSubstVarMap.begin(); pIter != m_aSubstVarMap.end(); pIter++ )
+ for ( pIter = m_aSubstVarMap.begin(); pIter != m_aSubstVarMap.end(); ++pIter )
{
ReSubstUserVarOrder aUserOrderVar;
rtl::OUStringBuffer aStrBuffer( pIter->second.aSubstVariable.getLength() );
@@ -1041,7 +1041,7 @@ throw ( RuntimeException )
while ( !bResubstitutionCompleted )
{
ReSubstFixedVarOrderVector::const_iterator pIterFixed;
- for ( pIterFixed = m_aReSubstFixedVarOrder.begin(); pIterFixed != m_aReSubstFixedVarOrder.end(); pIterFixed++ )
+ for ( pIterFixed = m_aReSubstFixedVarOrder.begin(); pIterFixed != m_aReSubstFixedVarOrder.end(); ++pIterFixed )
{
rtl::OUString aValue = m_aPreDefVars.m_FixedVar[ (sal_Int32)pIterFixed->eVariable ];
sal_Int32 nPos = aURL.indexOf( aValue );
@@ -1081,7 +1081,7 @@ throw ( RuntimeException )
// This part can be iteratered more than one time as variables can contain variables again!
ReSubstUserVarOrderVector::const_iterator pIterUser;
- for ( pIterUser = m_aReSubstUserVarOrder.begin(); pIterUser != m_aReSubstUserVarOrder.end(); pIterUser++ )
+ for ( pIterUser = m_aReSubstUserVarOrder.begin(); pIterUser != m_aReSubstUserVarOrder.end(); ++pIterUser )
{
rtl::OUString aVarValue = pIterUser->aVarName;
sal_Int32 nPos = aURL.indexOf( aVarValue );