diff options
author | Philipp Riemer <ruderphilipp@gmail.com> | 2013-05-05 20:00:24 +0200 |
---|---|---|
committer | Philipp Riemer <ruderphilipp@gmail.com> | 2013-05-05 20:33:17 +0200 |
commit | 66e47a5cfd177571dc0811abda4e0a5a6ae8c56a (patch) | |
tree | b746b6e2f9e99d603d460a185e1444acf12b807d | |
parent | 688f72e3a2c3ef923389bbd21f6aea3afe1114db (diff) |
fix indentation
Change-Id: If17defd0a64c0b6b4e2c1faf60601199a978e2e9
-rw-r--r-- | sw/source/core/view/viewsh.cxx | 20 |
1 files 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; |