diff options
Diffstat (limited to 'svx/source/stbctrls/zoomsliderctrl.cxx')
-rw-r--r-- | svx/source/stbctrls/zoomsliderctrl.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/stbctrls/zoomsliderctrl.cxx b/svx/source/stbctrls/zoomsliderctrl.cxx index 048979a02481..aa8ae8a58972 100644 --- a/svx/source/stbctrls/zoomsliderctrl.cxx +++ b/svx/source/stbctrls/zoomsliderctrl.cxx @@ -94,7 +94,7 @@ sal_uInt16 SvxZoomSliderControl::Offset2Zoom( long nOffset ) const sal_uInt16 nRet = 0; if ( nOffset < nSliderXOffset ) - return mpImpl->mnMinZoom;; + return mpImpl->mnMinZoom; if ( nOffset > nControlWidth - nSliderXOffset ) return mpImpl->mnMaxZoom; @@ -344,7 +344,7 @@ void SvxZoomSliderControl::Paint( const UserDrawEvent& rUsrEvt ) sal_Bool SvxZoomSliderControl::MouseButtonDown( const MouseEvent & rEvt ) { if ( !mpImpl->mbValuesSet ) - return sal_True;; + return sal_True; const Rectangle aControlRect = getControlRect(); const Point aPoint = rEvt.GetPosPixel(); @@ -401,7 +401,7 @@ sal_Bool SvxZoomSliderControl::MouseButtonDown( const MouseEvent & rEvt ) sal_Bool SvxZoomSliderControl::MouseMove( const MouseEvent & rEvt ) { if ( !mpImpl->mbValuesSet ) - return sal_True;; + return sal_True; const short nButtons = rEvt.GetButtons(); |