summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2011-09-15 22:01:51 +0200
committerJulien Nabet <serval2412@yahoo.fr>2011-09-15 22:03:06 +0200
commita5745e9e730ad39b590781f38884479072ee6f9d (patch)
tree401da58b8c0499609c9a02193409dd91fb35bc2d /sw
parent8916f842e04ab52ee6efe0bdeba805f781a72851 (diff)
Some cppcheck cleaning
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/docvw/edtwin.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/ui/docvw/edtwin.cxx b/sw/source/ui/docvw/edtwin.cxx
index 41d77615a784..5ea839e810df 100644
--- a/sw/source/ui/docvw/edtwin.cxx
+++ b/sw/source/ui/docvw/edtwin.cxx
@@ -5744,7 +5744,7 @@ void SwEditWin::SetHeaderFooterControl( const SwPageFrm* pPageFrm, bool bHeader,
if ( ( *pIt )->GetPageFrame( ) == pPageFrm &&
( *pIt )->IsHeader( ) == bHeader )
pControl = *pIt;
- pIt++;
+ ++pIt;
}
if ( !pControl.get() )
@@ -5771,7 +5771,7 @@ void SwEditWin::HideHeaderFooterControls( )
while ( pIt != aHeadFootControls.end() )
{
( *pIt )->Hide();
- pIt++;
+ ++pIt;
}
}
@@ -5781,7 +5781,7 @@ void SwEditWin::SetReadonlyHeaderFooterControls( bool bReadonly )
while ( pIt != aHeadFootControls.end() )
{
( *pIt )->SetReadonly( bReadonly );
- pIt++;
+ ++pIt;
}
}