summaryrefslogtreecommitdiff
path: root/include/vcl/slider.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-02-21 12:53:51 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-02-21 12:53:51 +0100
commite8f8f24c8415898c787bbfb629247ed62e73a2b9 (patch)
treedae18a3acbf29c192118e7c003f80df8da8e21ae /include/vcl/slider.hxx
parent1c8402465cfd4df862409dc310f5f099d044c4d8 (diff)
vcl: sal_Bool -> bool
Change-Id: I2a3e3d3e3266ea0f0fafdd91362076a4aa160f0e
Diffstat (limited to 'include/vcl/slider.hxx')
-rw-r--r--include/vcl/slider.hxx22
1 files changed, 11 insertions, 11 deletions
diff --git a/include/vcl/slider.hxx b/include/vcl/slider.hxx
index ef24221db227..ca11facf2b1e 100644
--- a/include/vcl/slider.hxx
+++ b/include/vcl/slider.hxx
@@ -49,8 +49,8 @@ private:
sal_uInt16 mnDragDraw;
sal_uInt16 mnStateFlags;
ScrollType meScrollType;
- sal_Bool mbCalcSize;
- sal_Bool mbFullDrag;
+ bool mbCalcSize;
+ bool mbFullDrag;
Link maSlideHdl;
Link maEndSlideHdl;
@@ -58,16 +58,16 @@ private:
using Window::ImplInit;
SAL_DLLPRIVATE void ImplInit( Window* pParent, WinBits nStyle );
SAL_DLLPRIVATE void ImplInitSettings();
- SAL_DLLPRIVATE void ImplUpdateRects( sal_Bool bUpdate = sal_True );
+ SAL_DLLPRIVATE void ImplUpdateRects( bool bUpdate = true );
SAL_DLLPRIVATE long ImplCalcThumbPos( long nPixPos );
SAL_DLLPRIVATE long ImplCalcThumbPosPix( long nPos );
- SAL_DLLPRIVATE void ImplCalc( sal_Bool bUpdate = sal_True );
+ SAL_DLLPRIVATE void ImplCalc( bool bUpdate = true );
SAL_DLLPRIVATE void ImplDraw( sal_uInt16 nDrawFlags );
- SAL_DLLPRIVATE sal_Bool ImplIsPageUp( const Point& rPos );
- SAL_DLLPRIVATE sal_Bool ImplIsPageDown( const Point& rPos );
- SAL_DLLPRIVATE long ImplSlide( long nNewPos, sal_Bool bCallEndSlide );
- SAL_DLLPRIVATE long ImplDoAction( sal_Bool bCallEndSlide );
- SAL_DLLPRIVATE void ImplDoMouseAction( const Point& rPos, sal_Bool bCallAction = sal_True );
+ SAL_DLLPRIVATE bool ImplIsPageUp( const Point& rPos );
+ SAL_DLLPRIVATE bool ImplIsPageDown( const Point& rPos );
+ SAL_DLLPRIVATE long ImplSlide( long nNewPos, bool bCallEndSlide );
+ SAL_DLLPRIVATE long ImplDoAction( bool bCallEndSlide );
+ SAL_DLLPRIVATE void ImplDoMouseAction( const Point& rPos, bool bCallAction = true );
SAL_DLLPRIVATE long ImplDoSlide( long nNewPos );
SAL_DLLPRIVATE long ImplDoSlideAction( ScrollType eScrollType );
@@ -87,9 +87,9 @@ public:
virtual void Slide();
virtual void EndSlide();
- void EnableDrag( sal_Bool bEnable = sal_True )
+ void EnableDrag( bool bEnable = true )
{ mbFullDrag = bEnable; }
- sal_Bool IsDragEnabled() const { return mbFullDrag; }
+ bool IsDragEnabled() const { return mbFullDrag; }
long GetRangeMin() const { return mnMinRange; }
long GetRangeMax() const { return mnMaxRange; }