Kaydet (Commit) 099626db authored tarafından Caolán McNamara's avatar Caolán McNamara

cppcheck: use prefix form

üst 612fde3b
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment