diff options
Diffstat (limited to 'svx/source')
-rw-r--r-- | svx/source/stbctrls/selctrl.cxx | 4 | ||||
-rw-r--r-- | svx/source/stbctrls/zoomsliderctrl.cxx | 14 |
2 files changed, 9 insertions, 9 deletions
diff --git a/svx/source/stbctrls/selctrl.cxx b/svx/source/stbctrls/selctrl.cxx index acfb2da8e098..1536aa49f3bb 100644 --- a/svx/source/stbctrls/selctrl.cxx +++ b/svx/source/stbctrls/selctrl.cxx @@ -109,7 +109,7 @@ void SvxSelectionModeControl::StateChanged( sal_uInt16, SfxItemState eState, -sal_Bool SvxSelectionModeControl::MouseButtonDown( const MouseEvent& rEvt ) +bool SvxSelectionModeControl::MouseButtonDown( const MouseEvent& rEvt ) { CaptureMouse(); SelectionTypePopup aPop( mnState ); @@ -136,7 +136,7 @@ sal_Bool SvxSelectionModeControl::MouseButtonDown( const MouseEvent& rEvt ) } ReleaseMouse(); - return sal_True; + return true; } diff --git a/svx/source/stbctrls/zoomsliderctrl.cxx b/svx/source/stbctrls/zoomsliderctrl.cxx index 7497bfa6bad3..e0fa87935cc8 100644 --- a/svx/source/stbctrls/zoomsliderctrl.cxx +++ b/svx/source/stbctrls/zoomsliderctrl.cxx @@ -325,10 +325,10 @@ void SvxZoomSliderControl::Paint( const UserDrawEvent& rUsrEvt ) -sal_Bool SvxZoomSliderControl::MouseButtonDown( const MouseEvent & rEvt ) +bool SvxZoomSliderControl::MouseButtonDown( const MouseEvent & rEvt ) { if ( !mpImpl->mbValuesSet ) - return sal_True; + return true; const Rectangle aControlRect = getControlRect(); const Point aPoint = rEvt.GetPosPixel(); @@ -358,7 +358,7 @@ sal_Bool SvxZoomSliderControl::MouseButtonDown( const MouseEvent & rEvt ) mpImpl->mnCurrentZoom = mpImpl->mnMaxZoom; if ( nOldZoom == mpImpl->mnCurrentZoom ) - return sal_True; + return true; if ( GetStatusBar().AreItemsVisible() ) GetStatusBar().SetItemData( GetId(), 0 ); // force repaint @@ -379,15 +379,15 @@ sal_Bool SvxZoomSliderControl::MouseButtonDown( const MouseEvent & rEvt ) mpImpl->mbOmitPaint = false; - return sal_True; + return true; } -sal_Bool SvxZoomSliderControl::MouseMove( const MouseEvent & rEvt ) +bool SvxZoomSliderControl::MouseMove( const MouseEvent & rEvt ) { if ( !mpImpl->mbValuesSet ) - return sal_True; + return true; const short nButtons = rEvt.GetButtons(); @@ -424,7 +424,7 @@ sal_Bool SvxZoomSliderControl::MouseMove( const MouseEvent & rEvt ) } } - return sal_True; + return true; } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |