From 66e47a5cfd177571dc0811abda4e0a5a6ae8c56a Mon Sep 17 00:00:00 2001 From: Philipp Riemer Date: Sun, 5 May 2013 20:00:24 +0200 Subject: fix indentation Change-Id: If17defd0a64c0b6b4e2c1faf60601199a978e2e9 --- sw/source/core/view/viewsh.cxx | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/sw/source/core/view/viewsh.cxx b/sw/source/core/view/viewsh.cxx index 4516f17c8454..1ade18f6fa8f 100644 --- a/sw/source/core/view/viewsh.cxx +++ b/sw/source/core/view/viewsh.cxx @@ -916,14 +916,13 @@ void ViewShell::Reformat() } } - void ViewShell::ChgNumberDigits() - { - SdrModel* pTmpDrawModel = getIDocumentDrawModelAccess()->GetDrawModel(); - if ( pTmpDrawModel ) - pTmpDrawModel->ReformatAllTextObjects(); - Reformat(); - } - +void ViewShell::ChgNumberDigits() +{ + SdrModel* pTmpDrawModel = getIDocumentDrawModelAccess()->GetDrawModel(); + if ( pTmpDrawModel ) + pTmpDrawModel->ReformatAllTextObjects(); + Reformat(); +} void ViewShell::CalcLayout() { @@ -1087,8 +1086,7 @@ void ViewShell::VisPortChgd( const SwRect &rRect) aPageRect.SSize() = rFormatPage.GetBoundRect().SSize(); } - // OD 12.02.2003 #i9719#, #105645# - consider new border - // and shadow width + // OD 12.02.2003 #i9719#, #105645# - consider new border and shadow width if ( aPageRect.IsOver( aBoth ) ) { SwTwips nPageLeft = 0; @@ -1120,7 +1118,7 @@ void ViewShell::VisPortChgd( const SwRect &rRect) if (pObj->IsFormatPossible()) { const Rectangle &rBound = pObj->GetObjRect().SVRect(); - // OD 03.03.2003 #107927# - use correct datatype + // OD 03.03.2003 #107927# - use correct datatype const SwTwips nL = std::max( 0L, rBound.Left() - nOfst ); if ( nL < nMinLeft ) nMinLeft = nL; -- cgit