diff options
author | Noel Grandin <noel@peralex.com> | 2014-03-05 16:23:36 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-03-11 08:18:20 +0200 |
commit | aaee84c4c865ee121de6d9110c27d51c90dc936b (patch) | |
tree | d742fce3620d867f949784a425e1c003d2d4d240 /include/svx/ruler.hxx | |
parent | 37a2ed040e0e11ecef115d8955e09845aeff7511 (diff) |
svx: sal_Bool->bool
Change-Id: I26a7bded5138d646c67ae396690659ee13ba9f36
Diffstat (limited to 'include/svx/ruler.hxx')
-rw-r--r-- | include/svx/ruler.hxx | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/include/svx/ruler.hxx b/include/svx/ruler.hxx index e12cf2a4aa7a..a3705fecf66d 100644 --- a/include/svx/ruler.hxx +++ b/include/svx/ruler.hxx @@ -61,8 +61,8 @@ class SVX_DLLPUBLIC SvxRuler: public Ruler, public SfxListener boost::scoped_ptr<SvxRuler_Impl> mpRulerImpl; - sal_Bool bAppSetNullOffset :1; - sal_Bool bHorz :1; + bool bAppSetNullOffset :1; + bool bHorz :1; long lLogicNullOffset; // in logic coordinates long lAppNullOffset; // in logic coordinates long lMinFrame; // minimal frame width in pixels @@ -97,16 +97,16 @@ class SVX_DLLPUBLIC SvxRuler: public Ruler, public SfxListener long nDragOffset; long nMaxLeft; long nMaxRight; - sal_Bool bValid; - sal_Bool bListening; - sal_Bool bActive; + bool bValid; + bool bListening; + bool bActive; bool mbCoarseSnapping; bool mbSnapping; void StartListening_Impl(); - long GetCorrectedDragPos(sal_Bool bLeft = sal_True, sal_Bool bRight = sal_True ); - void DrawLine_Impl(long &lTabPos, int, sal_Bool Horizontal=sal_True); + long GetCorrectedDragPos(bool bLeft = true, bool bRight = true ); + void DrawLine_Impl(long &lTabPos, int, bool Horizontal = true); sal_uInt16 GetObjectBordersOff(sal_uInt16 nIdx) const; // page borders or surrounding frame @@ -224,18 +224,18 @@ protected: // calculation of boundary values for object borders // values refer to the page - virtual sal_Bool CalcLimits(long &nMax1, long &nMax2, sal_Bool bFirst) const; - sal_Bool IsActLastColumn( - sal_Bool bForceDontConsiderHidden = sal_False, + virtual bool CalcLimits(long &nMax1, long &nMax2, bool bFirst) const; + bool IsActLastColumn( + bool bForceDontConsiderHidden = false, sal_uInt16 nAct=USHRT_MAX) const; - sal_Bool IsActFirstColumn( - sal_Bool bForceDontConsiderHidden = sal_False, + bool IsActFirstColumn( + bool bForceDontConsiderHidden = false, sal_uInt16 nAct=USHRT_MAX) const; sal_uInt16 GetActLeftColumn( - sal_Bool bForceDontConsiderHidden = sal_False, + bool bForceDontConsiderHidden = false, sal_uInt16 nAct=USHRT_MAX ) const; sal_uInt16 GetActRightColumn ( - sal_Bool bForceDontConsiderHidden = sal_False, + bool bForceDontConsiderHidden = false, sal_uInt16 nAct=USHRT_MAX ) const; long CalcPropMaxRight(sal_uInt16 nCol = USHRT_MAX) const; long GetPageWidth() const; @@ -272,8 +272,8 @@ public: return lAppNullOffset; } - void SetActive(sal_Bool bOn = sal_True); - sal_Bool IsActive() const + void SetActive(bool bOn = true); + bool IsActive() const { return bActive; } @@ -284,7 +284,7 @@ public: } //#i24363# tab stops relative to indent - void SetTabsRelativeToIndent( sal_Bool bRel = sal_True ); + void SetTabsRelativeToIndent( bool bRel = true ); }; #endif |