summaryrefslogtreecommitdiff
path: root/toolkit/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-01-01 20:52:43 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-01-01 20:52:43 +0000
commite2d76a22a303328854b30bd725d1f5bb0f8e02ae (patch)
tree8193ea083053abf1b025efa4527a6cac149894f3 /toolkit/source
parent31f376893033a1a7357dc8b697184254f0586845 (diff)
cppcheck: prefer prefix variant
Diffstat (limited to 'toolkit/source')
-rw-r--r--toolkit/source/layout/core/root.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/source/layout/core/root.cxx b/toolkit/source/layout/core/root.cxx
index f5d52b7918e5..6a3ebe85e836 100644
--- a/toolkit/source/layout/core/root.cxx
+++ b/toolkit/source/layout/core/root.cxx
@@ -246,7 +246,7 @@ uno::Sequence< OUString > SAL_CALL LayoutRoot::getElementNames()
sal_Int32 nPos = 0;
for ( ItemHash::const_iterator it = maItems.begin();
- it != maItems.end(); it++ )
+ it != maItems.end(); ++it )
aNames[ nPos++ ] = it->first;
return aNames;