summaryrefslogtreecommitdiffstats
path: root/comphelper/source/container
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-11-27 11:09:16 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-11-27 12:47:55 +0000
commit099626db8c6dcef7d92c8605d0880795d16fe17b (patch)
treead2d5e65ff5f461ebc86502786bc8ad486d5ec3e /comphelper/source/container
parentcppcheck: the scope of this variable can be reduced (diff)
downloadcore-099626db8c6dcef7d92c8605d0880795d16fe17b.tar.gz
core-099626db8c6dcef7d92c8605d0880795d16fe17b.zip
cppcheck: use prefix form
Diffstat (limited to 'comphelper/source/container')
-rw-r--r--comphelper/source/container/IndexedPropertyValuesContainer.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/comphelper/source/container/IndexedPropertyValuesContainer.cxx b/comphelper/source/container/IndexedPropertyValuesContainer.cxx
index 78a453e96466..4608f9115bcb 100644
--- a/comphelper/source/container/IndexedPropertyValuesContainer.cxx
+++ b/comphelper/source/container/IndexedPropertyValuesContainer.cxx
@@ -121,8 +121,8 @@ void SAL_CALL IndexedPropertyValuesContainer::insertByIndex( sal_Int32 nIndex, c
sal_Int32 i(0);
while(i < nIndex)
{
- i++;
- aItr++;
+ ++i;
+ ++aItr;
}
}
else
@@ -131,8 +131,8 @@ void SAL_CALL IndexedPropertyValuesContainer::insertByIndex( sal_Int32 nIndex, c
sal_Int32 i(nSize - 1);
while(i > nIndex)
{
- i--;
- aItr--;
+ --i;
+ --aItr;
}
}
maProperties.insert(aItr, aProps);
@@ -156,8 +156,8 @@ void SAL_CALL IndexedPropertyValuesContainer::removeByIndex( sal_Int32 nIndex )
sal_Int32 i(0);
while(i < nIndex)
{
- i++;
- aItr++;
+ ++i;
+ ++aItr;
}
}
else
@@ -166,8 +166,8 @@ void SAL_CALL IndexedPropertyValuesContainer::removeByIndex( sal_Int32 nIndex )
sal_Int32 i(nSize - 1);
while(i > nIndex)
{
- i--;
- aItr--;
+ --i;
+ --aItr;
}
}
maProperties.erase(aItr);