diff options
author | Mathias Bauer <mba@openoffice.org> | 2011-02-09 09:49:44 +0100 |
---|---|---|
committer | Mathias Bauer <mba@openoffice.org> | 2011-02-09 09:49:44 +0100 |
commit | 53b8f0865ff2e59cb71eaf4c1bdbc829238fde6f (patch) | |
tree | 31528d76013d09428fad98a3dbc6265345dbbeb9 /sw/inc/unocrsr.hxx | |
parent | e22a1e2f5c5ed74c22849c9b5bb59dd8f47bffbc (diff) | |
parent | 9730661364792059168a06bfbaacf47fc8daf53c (diff) |
CWS swlayoutrefactoring: resync to m100
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 39e8ebbdce61..05738f4fd3c4 100644 --- a/sw/inc/unocrsr.hxx +++ b/sw/inc/unocrsr.hxx @@ -32,9 +32,9 @@ class SwUnoCrsr : public virtual SwCursor, public SwModify { - BOOL bRemainInSection : 1; - BOOL bSkipOverHiddenSections : 1; - BOOL bSkipOverProtectSections : 1; + sal_Bool bRemainInSection : 1; + sal_Bool bSkipOverHiddenSections : 1; + sal_Bool bSkipOverProtectSections : 1; public: SwUnoCrsr( const SwPosition &rPos, SwPaM* pRing = 0 ); @@ -43,7 +43,7 @@ public: protected: virtual const SwCntntFrm* DoSetBidiLevelLeftRight( - BOOL & io_rbLeft, BOOL bVisualAllowed, BOOL bInsertCrsr); + sal_Bool & io_rbLeft, sal_Bool bVisualAllowed, sal_Bool bInsertCrsr); virtual void DoSetBidiLevelUpDown(); public: @@ -52,24 +52,24 @@ public: // gibt es eine Selection vom Content in die Tabelle // Return Wert gibt an, ob der Crsr auf der alten Position verbleibt - virtual BOOL IsSelOvr( int eFlags = + virtual sal_Bool IsSelOvr( int eFlags = ( nsSwCursorSelOverFlags::SELOVER_CHECKNODESSECTION | nsSwCursorSelOverFlags::SELOVER_TOGGLE | nsSwCursorSelOverFlags::SELOVER_CHANGEPOS )); virtual bool IsReadOnlyAvailable() const; - BOOL IsRemainInSection() const { return bRemainInSection; } - void SetRemainInSection( BOOL bFlag ) { bRemainInSection = bFlag; } + sal_Bool IsRemainInSection() const { return bRemainInSection; } + void SetRemainInSection( sal_Bool bFlag ) { bRemainInSection = bFlag; } - virtual BOOL IsSkipOverProtectSections() const + virtual sal_Bool IsSkipOverProtectSections() const { return bSkipOverProtectSections; } - void SetSkipOverProtectSections( BOOL bFlag ) + void SetSkipOverProtectSections( sal_Bool bFlag ) { bSkipOverProtectSections = bFlag; } - virtual BOOL IsSkipOverHiddenSections() const + virtual sal_Bool IsSkipOverHiddenSections() const { return bSkipOverHiddenSections; } - void SetSkipOverHiddenSections( BOOL bFlag ) + void SetSkipOverHiddenSections( sal_Bool bFlag ) { bSkipOverHiddenSections = bFlag; } // make copy of cursor @@ -97,7 +97,7 @@ public: // gibt es eine Selection vom Content in die Tabelle // Return Wert gibt an, ob der Crsr auf der alten Position verbleibt - virtual BOOL IsSelOvr( int eFlags = + virtual sal_Bool IsSelOvr( int eFlags = ( nsSwCursorSelOverFlags::SELOVER_CHECKNODESSECTION | nsSwCursorSelOverFlags::SELOVER_TOGGLE | nsSwCursorSelOverFlags::SELOVER_CHANGEPOS )); |