diff options
author | Noel Grandin <noel@peralex.com> | 2014-03-27 09:29:41 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-03-27 13:45:10 +0200 |
commit | e9745e3a7fff649a03252a22f72d1d16aa162dad (patch) | |
tree | 9a179f1333f59f82ba591325b349a840c43ebfb3 /include | |
parent | 12f49da9baed5798a9dcb1814ff740f6b6a059db (diff) |
sfx2/stbitem.hxx: sal_Bool->bool
Change-Id: I7303d9533551fcfa7c7a99c9592402511492165a
Diffstat (limited to 'include')
-rw-r--r-- | include/sfx2/stbitem.hxx | 16 | ||||
-rw-r--r-- | include/svx/selctrl.hxx | 2 | ||||
-rw-r--r-- | include/svx/zoomsliderctrl.hxx | 4 |
3 files changed, 11 insertions, 11 deletions
diff --git a/include/sfx2/stbitem.hxx b/include/sfx2/stbitem.hxx index c9b5dc1e06cf..06802341ad60 100644 --- a/include/sfx2/stbitem.hxx +++ b/include/sfx2/stbitem.hxx @@ -42,7 +42,7 @@ struct SfxStbCtrlFactory { SfxStatusBarControlCtor pCtor; TypeId nTypeId; - sal_uInt16 nSlotId; + sal_uInt16 nSlotId; SfxStbCtrlFactory( SfxStatusBarControlCtor pTheCtor, TypeId nTheTypeId, sal_uInt16 nTheSlotId ): @@ -60,8 +60,8 @@ class UserDrawEvent; class SFX2_DLLPUBLIC SfxStatusBarControl: public svt::StatusbarController { - sal_uInt16 nSlotId; - sal_uInt16 nId; + sal_uInt16 nSlotId; + sal_uInt16 nId; StatusBar* pBar; protected: @@ -101,9 +101,9 @@ protected: virtual void Click(); virtual void DoubleClick(); virtual void Command( const CommandEvent& rCEvt ); - virtual sal_Bool MouseButtonDown( const MouseEvent & ); - virtual sal_Bool MouseMove( const MouseEvent & ); - virtual sal_Bool MouseButtonUp( const MouseEvent & ); + virtual bool MouseButtonDown( const MouseEvent & ); + virtual bool MouseMove( const MouseEvent & ); + virtual bool MouseButtonUp( const MouseEvent & ); virtual void Paint( const UserDrawEvent &rUDEvt ); static sal_uInt16 convertAwtToVCLMouseButtons( sal_Int16 nAwtMouseButtons ); @@ -112,8 +112,8 @@ public: SfxStatusBarControl( sal_uInt16 nSlotID, sal_uInt16 nId, StatusBar& rBar ); virtual ~SfxStatusBarControl(); - sal_uInt16 GetSlotId() const { return nSlotId; } - sal_uInt16 GetId() const { return nId; } + sal_uInt16 GetSlotId() const { return nSlotId; } + sal_uInt16 GetId() const { return nId; } StatusBar& GetStatusBar() const { return *pBar; } void CaptureMouse(); void ReleaseMouse(); diff --git a/include/svx/selctrl.hxx b/include/svx/selctrl.hxx index b3081f112722..be8b05a51bdd 100644 --- a/include/svx/selctrl.hxx +++ b/include/svx/selctrl.hxx @@ -33,7 +33,7 @@ public: virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState ); - virtual sal_Bool MouseButtonDown( const MouseEvent& rEvt ); + virtual bool MouseButtonDown( const MouseEvent& rEvt ); virtual void Paint( const UserDrawEvent& rEvt ); private: diff --git a/include/svx/zoomsliderctrl.hxx b/include/svx/zoomsliderctrl.hxx index 11c962702df6..0aad2968cb22 100644 --- a/include/svx/zoomsliderctrl.hxx +++ b/include/svx/zoomsliderctrl.hxx @@ -44,8 +44,8 @@ public: virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState ); virtual void Paint( const UserDrawEvent& rEvt ); - virtual sal_Bool MouseButtonDown( const MouseEvent & ); - virtual sal_Bool MouseMove( const MouseEvent & rEvt ); + virtual bool MouseButtonDown( const MouseEvent & ); + virtual bool MouseMove( const MouseEvent & rEvt ); }; #endif |