diff options
Diffstat (limited to 'starmath/source/view.cxx')
-rw-r--r-- | starmath/source/view.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx index e77f20933cc1..5cdc2103e237 100644 --- a/starmath/source/view.cxx +++ b/starmath/source/view.cxx @@ -581,7 +581,7 @@ void SmGraphicWindow::Command(const CommandEvent& rCEvt) case COMMAND_WHEEL: { const CommandWheelData* pWData = rCEvt.GetWheelData(); - if ( pWData && COMMAND_WHEEL_ZOOM == pWData->GetMode() ) + if ( pWData && CommandWheelMode::ZOOM == pWData->GetMode() ) { sal_uInt16 nTmpZoom = GetZoom(); if( 0L > pWData->GetDelta() ) |