From 0e540d7e393b05b3813206ed60be2c51a8d80aa2 Mon Sep 17 00:00:00 2001 From: Matteo Casalin Date: Sun, 12 May 2013 17:37:22 +0200 Subject: [PATCH] Fix indentation Change-Id: I56f4352ca1703950a2eb37eda1dbe0c1ab5a0b1c --- sw/source/ui/uiview/viewport.cxx | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/sw/source/ui/uiview/viewport.cxx b/sw/source/ui/uiview/viewport.cxx index 0e87e455af9e..e9f5d1ac6e73 100644 --- a/sw/source/ui/uiview/viewport.cxx +++ b/sw/source/ui/uiview/viewport.cxx @@ -1286,16 +1286,15 @@ sal_Bool SwView::HandleWheelCommands( const CommandEvent& rCEvt ) } if ((COMMAND_WHEEL_SCROLL==pWData->GetMode()) && (((sal_uLong)0xFFFFFFFF) == pWData->GetScrollLines())) - { - if (pWData->GetDelta()<0) - PhyPageDown(); - else - PhyPageUp(); - bOk = sal_True; - } + { + if (pWData->GetDelta()<0) + PhyPageDown(); + else + PhyPageUp(); + bOk = sal_True; + } else - bOk = m_pEditWin->HandleScrollCommand( rCEvt, - m_pHScrollbar, m_pVScrollbar); + bOk = m_pEditWin->HandleScrollCommand(rCEvt, m_pHScrollbar, m_pVScrollbar); // Restore default state for case when scroll command comes from dragging scrollbar handle m_bWheelScrollInProgress=false;