diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2013-05-12 17:37:22 +0200 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2013-05-12 17:38:31 +0200 |
commit | 0e540d7e393b05b3813206ed60be2c51a8d80aa2 (patch) | |
tree | f179ce73cc365541c66b7edce65c17f1aaec097e /sw | |
parent | 5141201fba2d080841b81e02be92f4b47aae2684 (diff) |
Fix indentation
Change-Id: I56f4352ca1703950a2eb37eda1dbe0c1ab5a0b1c
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/ui/uiview/viewport.cxx | 17 |
1 files 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; |