diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2012-09-27 13:21:50 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2012-09-27 13:21:50 +0900 |
commit | 30d33b126f47021a99fb8ca63d6c6be29407e9cc (patch) | |
tree | c91e19e666d77dabed9253ae0d2eb51c7b2d200b /sw/inc | |
parent | 43ac04763d60ae651dc8f1a592cc2f0d41387a7d (diff) |
sal_Bool to bool
Change-Id: Ic05d9f062e7419d192b8cf6e56c91b3f9d97bfe0
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/crsrsh.hxx | 16 | ||||
-rw-r--r-- | sw/inc/node.hxx | 2 |
2 files changed, 9 insertions, 9 deletions
diff --git a/sw/inc/crsrsh.hxx b/sw/inc/crsrsh.hxx index 632b021015b4..4c7e48c008fa 100644 --- a/sw/inc/crsrsh.hxx +++ b/sw/inc/crsrsh.hxx @@ -137,7 +137,7 @@ struct SwContentAtPos nDist = 0; // #i23726# } - sal_Bool IsInProtectSect() const; + bool IsInProtectSect() const; bool IsInRTLText()const; }; @@ -295,9 +295,9 @@ protected: void PaMCorrAbs(const SwNodeIndex &rOldNode, const SwPosition &rNewPos, const xub_StrLen nOffset = 0 ); - sal_Bool _SelTblRowOrCol( bool bRow, bool bRowSimple = false ); + bool _SelTblRowOrCol( bool bRow, bool bRowSimple = false ); - bool SetInFrontOfLabel( sal_Bool bNew ); + bool SetInFrontOfLabel( bool bNew ); void RefreshBlockCursor(); @@ -321,7 +321,7 @@ public: SwPaM * CreateCrsr(); ///< delete the current cursor and make the following into the current - sal_Bool DestroyCrsr(); + bool DestroyCrsr(); ///< transform TableCursor to normal cursor, nullify Tablemode void TblCrsrToCursor(); ///< enter block mode, change normal cursor into block cursor @@ -525,7 +525,7 @@ public: // Check if selection is within one paragraph. //Should WaitPtr be activated for Clipboard. - sal_Bool ShouldWait() const; + bool ShouldWait() const; // Check if selection is within one paragraph. inline sal_Bool IsSelOnePara() const; @@ -728,11 +728,11 @@ public: sal_Bool IsInWord( sal_Int16 nWordType = com::sun::star::i18n::WordType::ANYWORD_IGNOREWHITESPACES ) const; sal_Bool IsStartSentence() const; sal_Bool IsEndSentence() const; - sal_Bool IsSttPara() const; - sal_Bool IsEndPara() const; + bool IsSttPara() const; + bool IsEndPara() const; sal_Bool IsStartOfDoc() const; sal_Bool IsEndOfDoc() const; - sal_Bool IsInFrontOfLabel() const; + bool IsInFrontOfLabel() const; sal_Bool IsAtLeftMargin() const { return IsAtLRMargin( sal_True ); } sal_Bool IsAtRightMargin(sal_Bool bAPI = sal_False) const { return IsAtLRMargin( sal_False, bAPI ); } diff --git a/sw/inc/node.hxx b/sw/inc/node.hxx index a0fed7253ff1..9ac30455dcc2 100644 --- a/sw/inc/node.hxx +++ b/sw/inc/node.hxx @@ -268,7 +268,7 @@ public: /// Is node in the visible area of the Shell? sal_Bool IsInVisibleArea( ViewShell* pSh = 0 ) const; /// Is node in an protected area? - sal_Bool IsInProtectSect() const; + bool IsInProtectSect() const; /** Is node in something that is protected (range, frame, table cells ... including anchor in case of frames or footnotes)? */ sal_Bool IsProtect() const; |