summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uiview/viewport.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/uiview/viewport.cxx')
-rw-r--r--sw/source/uibase/uiview/viewport.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/uiview/viewport.cxx b/sw/source/uibase/uiview/viewport.cxx
index d803103f0692..1fa6a1721d7f 100644
--- a/sw/source/uibase/uiview/viewport.cxx
+++ b/sw/source/uibase/uiview/viewport.cxx
@@ -1241,7 +1241,7 @@ bool SwView::HandleWheelCommands( const CommandEvent& rCEvt )
// scrolling the deltaX deltaY
Point deltaPoint( deltaX, deltaY );
CommandWheelData cmd( 0, 0, 0, CommandWheelMode::SCROLL, 0, false, true);
- CommandEvent event(deltaPoint , COMMAND_WHEEL, true, &cmd );
+ CommandEvent event(deltaPoint , CommandEventId::Wheel, true, &cmd );
m_pEditWin->HandleScrollCommand(event, m_pHScrollbar, m_pVScrollbar);
}