Fix indentation

Change-Id: I56f4352ca1703950a2eb37eda1dbe0c1ab5a0b1c
This commit is contained in:
Matteo Casalin
2013-05-12 17:37:22 +02:00
parent 5141201fba
commit 0e540d7e39

View File

@@ -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;