summaryrefslogtreecommitdiff
path: root/include/vcl/scrbar.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/scrbar.hxx
parent1c8402465cfd4df862409dc310f5f099d044c4d8 (diff)
vcl: sal_Bool -> bool
Change-Id: I2a3e3d3e3266ea0f0fafdd91362076a4aa160f0e
Diffstat (limited to 'include/vcl/scrbar.hxx')
-rw-r--r--include/vcl/scrbar.hxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/include/vcl/scrbar.hxx b/include/vcl/scrbar.hxx
index e17042cd2210..28c891c15cde 100644
--- a/include/vcl/scrbar.hxx
+++ b/include/vcl/scrbar.hxx
@@ -63,8 +63,8 @@ private:
sal_uInt16 mnStateFlags;
ScrollType meScrollType;
ScrollType meDDScrollType;
- sal_Bool mbCalcSize;
- sal_Bool mbFullDrag;
+ bool mbCalcSize;
+ bool mbFullDrag;
Link maScrollHdl;
Link maEndScrollHdl;
@@ -73,17 +73,17 @@ private:
SAL_DLLPRIVATE void ImplInit( Window* pParent, WinBits nStyle );
SAL_DLLPRIVATE void ImplInitStyle( WinBits nStyle );
SAL_DLLPRIVATE void ImplLoadRes( const ResId& rResId );
- 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, OutputDevice* pOutDev );
using Window::ImplScroll;
- SAL_DLLPRIVATE long ImplScroll( long nNewPos, sal_Bool bCallEndScroll );
- SAL_DLLPRIVATE long ImplDoAction( sal_Bool bCallEndScroll );
- SAL_DLLPRIVATE void ImplDoMouseAction( const Point& rPos, sal_Bool bCallAction = sal_True );
+ SAL_DLLPRIVATE long ImplScroll( long nNewPos, bool bCallEndScroll );
+ SAL_DLLPRIVATE long ImplDoAction( bool bCallEndScroll );
+ SAL_DLLPRIVATE void ImplDoMouseAction( const Point& rPos, bool bCallAction = true );
SAL_DLLPRIVATE void ImplInvert();
- SAL_DLLPRIVATE sal_Bool ImplDrawNative( sal_uInt16 nDrawFlags );
+ SAL_DLLPRIVATE bool ImplDrawNative( sal_uInt16 nDrawFlags );
SAL_DLLPRIVATE void ImplDragThumb( const Point& rMousePos );
SAL_DLLPRIVATE Size getCurrentCalcSize() const;
DECL_DLLPRIVATE_LINK( ImplTimerHdl, Timer* );
@@ -113,9 +113,9 @@ public:
long DoScroll( long nNewPos );
long DoScrollAction( ScrollType eScrollType );
- 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; }
void SetRangeMin( long nNewRange );
long GetRangeMin() const { return mnMinRange; }
re/commit/svtools/inc?h=feature/vclptr&id=11d22e164ec5e62e067a38ce11929b157381d1b7'>cid#1194925 Resource leakNoel Grandin 2014-09-23fdo#82577: Handle WindowNoel Grandin 2014-08-18drop unnecessary shl.hxx includesCaolán McNamara 2014-08-13update_pchThomas Arnhold 2014-05-28update_pchThomas Arnhold 2014-05-15Resolves fdo#70681: fixincludeguards.pl: all that's leftThomas Arnhold 2014-05-11remove external header guardsThomas Arnhold 2014-05-11fix-includes.pl: svtoolsThomas Arnhold 2014-05-06Move headers included only in svtools to svtoolsTor Lillqvist 2014-04-14update_pchThomas Arnhold 2014-01-30Introduce com.sun.star.ui.theModuleUIConfigurationManagerSupplier singleton.Matúš Kukan 2014-01-28Introduce com.sun.star.frame.theUICommandDescription singleton.Matúš Kukan 2014-01-20Removed unused solar.h reference in svtoolsAlexandre Vicenzi 2014-01-14longparas: drop STRING_MAXLEN use nowCaolán McNamara