diff options
author | Noel Grandin <noel@peralex.com> | 2014-04-25 14:00:35 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-04-30 08:44:42 +0200 |
commit | 6aa35db39311dcd7965c9c9c21fcf4143a1f9b43 (patch) | |
tree | 04320eaf8c7481c1b496460624ee20ec11360ac2 /sw/inc/unocrsr.hxx | |
parent | 1417061d1b2c110e7e690523a544b58e7ffd05c0 (diff) |
sw: sal_Bool->bool
Change-Id: I324a0ffde2ddcca105451c19e7aadcfad15211d8
Diffstat (limited to 'sw/inc/unocrsr.hxx')
-rw-r--r-- | sw/inc/unocrsr.hxx | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/sw/inc/unocrsr.hxx b/sw/inc/unocrsr.hxx index 2ce45aaf442f..aa33f99f83c8 100644 --- a/sw/inc/unocrsr.hxx +++ b/sw/inc/unocrsr.hxx @@ -23,9 +23,9 @@ class SwUnoCrsr : public virtual SwCursor, public SwModify { - sal_Bool bRemainInSection : 1; - sal_Bool bSkipOverHiddenSections : 1; - sal_Bool bSkipOverProtectSections : 1; + bool bRemainInSection : 1; + bool bSkipOverHiddenSections : 1; + bool bSkipOverProtectSections : 1; public: SwUnoCrsr( const SwPosition &rPos, SwPaM* pRing = 0 ); @@ -34,31 +34,31 @@ public: protected: virtual const SwCntntFrm* DoSetBidiLevelLeftRight( - sal_Bool & io_rbLeft, sal_Bool bVisualAllowed, sal_Bool bInsertCrsr) SAL_OVERRIDE; + bool & io_rbLeft, bool bVisualAllowed, bool bInsertCrsr) SAL_OVERRIDE; virtual void DoSetBidiLevelUpDown() SAL_OVERRIDE; public: // Does a selection of content exist in table? // Return value indicates if the cursor remains at its old position. - virtual sal_Bool IsSelOvr( int eFlags = + virtual bool IsSelOvr( int eFlags = ( nsSwCursorSelOverFlags::SELOVER_CHECKNODESSECTION | nsSwCursorSelOverFlags::SELOVER_TOGGLE | nsSwCursorSelOverFlags::SELOVER_CHANGEPOS )) SAL_OVERRIDE; virtual bool IsReadOnlyAvailable() const SAL_OVERRIDE; - sal_Bool IsRemainInSection() const { return bRemainInSection; } - void SetRemainInSection( sal_Bool bFlag ) { bRemainInSection = bFlag; } + bool IsRemainInSection() const { return bRemainInSection; } + void SetRemainInSection( bool bFlag ) { bRemainInSection = bFlag; } - virtual sal_Bool IsSkipOverProtectSections() const SAL_OVERRIDE + virtual bool IsSkipOverProtectSections() const SAL_OVERRIDE { return bSkipOverProtectSections; } - void SetSkipOverProtectSections( sal_Bool bFlag ) + void SetSkipOverProtectSections( bool bFlag ) { bSkipOverProtectSections = bFlag; } - virtual sal_Bool IsSkipOverHiddenSections() const SAL_OVERRIDE + virtual bool IsSkipOverHiddenSections() const SAL_OVERRIDE { return bSkipOverHiddenSections; } - void SetSkipOverHiddenSections( sal_Bool bFlag ) + void SetSkipOverHiddenSections( bool bFlag ) { bSkipOverHiddenSections = bFlag; } // make copy of cursor @@ -82,7 +82,7 @@ public: // Does a selection of content exist in table? // Return value indicates if the cursor remains at its old position. - virtual sal_Bool IsSelOvr( int eFlags = + virtual bool IsSelOvr( int eFlags = ( nsSwCursorSelOverFlags::SELOVER_CHECKNODESSECTION | nsSwCursorSelOverFlags::SELOVER_TOGGLE | nsSwCursorSelOverFlags::SELOVER_CHANGEPOS )) SAL_OVERRIDE; |