[Libreoffice-commits] .: sw/source
Julien Nabet
serval2412 at kemper.freedesktop.org
Thu Dec 29 01:56:20 PST 2011
sw/source/ui/docvw/FrameControlsManager.cxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit ebfaf933172ecf7d357b2454750033d4c6e57cd9
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Thu Dec 29 10:55:37 2011 +0100
Some cppcheck cleaning
diff --git a/sw/source/ui/docvw/FrameControlsManager.cxx b/sw/source/ui/docvw/FrameControlsManager.cxx
index 6b00d56..2ee4886 100644
--- a/sw/source/ui/docvw/FrameControlsManager.cxx
+++ b/sw/source/ui/docvw/FrameControlsManager.cxx
@@ -129,7 +129,7 @@ void SwFrameControlsManager::HideControls( FrameControlType eType )
while ( pIt != m_aControls[eType].end() )
{
( *pIt )->ShowAll( false );
- pIt++;
+ ++pIt;
}
}
@@ -163,7 +163,7 @@ void SwFrameControlsManager::SetHeaderFooterControl( const SwPageFrm* pPageFrm,
if ( pToTest->GetPageFrame( ) == pPageFrm &&
pToTest->IsHeader( ) == bHeader )
pControl = *pIt;
- pIt++;
+ ++pIt;
}
if ( !pControl.get() )
@@ -197,7 +197,7 @@ void SwFrameControlsManager::SetPageBreakControl( const SwPageFrm* pPageFrm )
SwPageBreakWin* pToTest = dynamic_cast< SwPageBreakWin* >( pIt->get() );
if ( pToTest->GetPageFrame( ) == pPageFrm )
pControl = *pIt;
- pIt++;
+ ++pIt;
}
if ( !pControl.get() )
More information about the Libreoffice-commits
mailing list