summaryrefslogtreecommitdiff
path: root/toolkit/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-11-28 12:16:41 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-11-28 12:16:41 +0000
commit196bff8648855bfcc528f50d6900f5256e33de67 (patch)
treeb35e278a172bce184138cca1fe6b20882df113cf /toolkit/source
parent777e5d5310e738a73a671f679fcddc6abd6dd29b (diff)
cppcheck: can use prefix variant
Diffstat (limited to 'toolkit/source')
-rw-r--r--toolkit/source/helper/unopropertyarrayhelper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/source/helper/unopropertyarrayhelper.cxx b/toolkit/source/helper/unopropertyarrayhelper.cxx
index f17fab4e9e58..c21cf581464d 100644
--- a/toolkit/source/helper/unopropertyarrayhelper.cxx
+++ b/toolkit/source/helper/unopropertyarrayhelper.cxx
@@ -47,7 +47,7 @@ UnoPropertyArrayHelper::UnoPropertyArrayHelper( const ::com::sun::star::uno::Seq
UnoPropertyArrayHelper::UnoPropertyArrayHelper( const std::list< sal_uInt16 > &rIDs )
{
std::list< sal_uInt16 >::const_iterator iter;
- for( iter = rIDs.begin(); iter != rIDs.end(); iter++)
+ for( iter = rIDs.begin(); iter != rIDs.end(); ++iter)
maIDs.Insert( *iter, (void*)1L);
}