diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-01-01 21:28:38 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-01-01 21:28:38 +0000 |
commit | 40cbc4c42d75b8453143f6a2f3b0f1f0762e15b6 (patch) | |
tree | 6dab06c988ddb580717debbb8ef1b6f0b5cd6d58 /editeng/source/uno | |
parent | 08ad087307174f0802458e70594618557817f2c6 (diff) |
cppcheck: prefer prefix variant
Diffstat (limited to 'editeng/source/uno')
-rw-r--r-- | editeng/source/uno/unotext.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editeng/source/uno/unotext.cxx b/editeng/source/uno/unotext.cxx index 2f0f19c63b4f..12eb887e7ef8 100644 --- a/editeng/source/uno/unotext.cxx +++ b/editeng/source/uno/unotext.cxx @@ -213,7 +213,7 @@ void check_me::add( SvxUnoTextRangeBase* pRange ) void check_me::remove( SvxUnoTextRangeBase* pRange ) { std::list< std::pair< sal_uInt32, SvxUnoTextRangeBase* > >::iterator aIter; - for( aIter = maRanges.begin(); aIter != maRanges.end(); aIter++ ) + for( aIter = maRanges.begin(); aIter != maRanges.end(); ++aIter ) { if( pRange == (*aIter).second ) { @@ -229,7 +229,7 @@ check_me::~check_me() { DBG_ERROR("living text range detected!"); std::list< std::pair< sal_uInt32, SvxUnoTextRangeBase* > >::iterator aIter; - for( aIter = maRanges.begin(); aIter != maRanges.end(); aIter++ ) + for( aIter = maRanges.begin(); aIter != maRanges.end(); ++aIter ) { sal_Int32 nAllocNum; SvxUnoTextRangeBase* pRange; |