summaryrefslogtreecommitdiff
path: root/sw/source/core/SwNumberTree
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-01-06 14:12:01 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-01-06 14:12:01 +0000
commit784ed1216e5920553e1559286361eb7db27c8d85 (patch)
tree865c4dbfe75da8db6f5f77884fac7c9572fee9e8 /sw/source/core/SwNumberTree
parentddc6f22870e29fd4d220d50f27baa44502291106 (diff)
cppunit: prefer prefix variant
Diffstat (limited to 'sw/source/core/SwNumberTree')
-rw-r--r--sw/source/core/SwNumberTree/SwNodeNum.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/SwNumberTree/SwNodeNum.cxx b/sw/source/core/SwNumberTree/SwNodeNum.cxx
index cad245d97bb8..a0ce831a6fcf 100644
--- a/sw/source/core/SwNumberTree/SwNodeNum.cxx
+++ b/sw/source/core/SwNumberTree/SwNodeNum.cxx
@@ -229,7 +229,7 @@ bool SwNodeNum::HasCountedChildren() const
tSwNumberTreeChildren::iterator aIt;
- for (aIt = mChildren.begin(); aIt != mChildren.end(); aIt++)
+ for (aIt = mChildren.begin(); aIt != mChildren.end(); ++aIt)
{
SwNodeNum* pChild( dynamic_cast<SwNodeNum*>(*aIt) );
OSL_ENSURE( pChild,