From 7f33ed417b2e29e5470724ea76967f64699a2662 Mon Sep 17 00:00:00 2001 From: Carsten Driesner Date: Mon, 17 Jan 2011 15:06:54 +0100 Subject: removetooltypes01: #i112600# Remove tools types from sw --- sw/inc/unocrsr.hxx | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'sw/inc/unocrsr.hxx') diff --git a/sw/inc/unocrsr.hxx b/sw/inc/unocrsr.hxx index 001f0eef3ab2..91fbc0a1d552 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 ); @@ -50,7 +50,7 @@ private: 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: @@ -59,24 +59,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 @@ -104,7 +104,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 )); -- cgit v1.2.3