diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2012-10-07 09:44:43 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2012-10-07 09:54:01 +0900 |
commit | 701db391b3d3b689af4ca5ab9d67c35b2459c1b3 (patch) | |
tree | 16ca7ede96c5cacfa8bba8f62acff188af7d558d /sw/inc | |
parent | 8a2f3de3ef1bee204ec1f94493753bd076ff1f6b (diff) |
sal_Bool to bool
Change-Id: Ieeebcd89ae2728c6314f28413759bbb353c327bf
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/SwStyleNameMapper.hxx | 2 | ||||
-rw-r--r-- | sw/inc/acmplwrd.hxx | 2 | ||||
-rw-r--r-- | sw/inc/crsrsh.hxx | 2 | ||||
-rw-r--r-- | sw/inc/doc.hxx | 4 | ||||
-rw-r--r-- | sw/inc/editsh.hxx | 2 | ||||
-rw-r--r-- | sw/inc/viscrs.hxx | 8 |
6 files changed, 10 insertions, 10 deletions
diff --git a/sw/inc/SwStyleNameMapper.hxx b/sw/inc/SwStyleNameMapper.hxx index 893ec73b841e..4142ff9a518a 100644 --- a/sw/inc/SwStyleNameMapper.hxx +++ b/sw/inc/SwStyleNameMapper.hxx @@ -141,7 +141,7 @@ protected: static void fillNameFromId ( sal_uInt16 nId, String &rName, sal_Bool bProgName ); static const String& getNameFromId ( sal_uInt16 nId, const String &rName, sal_Bool bProgName ); static const NameToIdHash& getHashTable ( SwGetPoolIdFromName, sal_Bool bProgName ); - static sal_Bool SuffixIsUser ( const String & rString ); + static bool SuffixIsUser ( const String & rString ); static void CheckSuffixAndDelete ( String & rString ); public: diff --git a/sw/inc/acmplwrd.hxx b/sw/inc/acmplwrd.hxx index 8e0dd750141a..6d86722442c4 100644 --- a/sw/inc/acmplwrd.hxx +++ b/sw/inc/acmplwrd.hxx @@ -59,7 +59,7 @@ public: SwAutoCompleteWord( sal_uInt16 nWords = 500, sal_uInt16 nMWrdLen = 10 ); ~SwAutoCompleteWord(); - sal_Bool InsertWord( const String& rWord, SwDoc& rDoc ); + bool InsertWord( const String& rWord, SwDoc& rDoc ); sal_Bool GetRange( const String& rWord, sal_uInt16& rStt, sal_uInt16& rEnd ) const; diff --git a/sw/inc/crsrsh.hxx b/sw/inc/crsrsh.hxx index e8678e99d783..fc421d2358c4 100644 --- a/sw/inc/crsrsh.hxx +++ b/sw/inc/crsrsh.hxx @@ -901,7 +901,7 @@ inline SwPaM* SwCrsrShell::GetTblCrs() inline void SwCrsrShell::UnSetVisCrsr() { pVisCrsr->Hide(); - pVisCrsr->SetDragCrsr( sal_False ); + pVisCrsr->SetDragCrsr( false ); } #endif // _CRSRSH_HXX diff --git a/sw/inc/doc.hxx b/sw/inc/doc.hxx index 682a97aaba71..76a7ef4767dd 100644 --- a/sw/inc/doc.hxx +++ b/sw/inc/doc.hxx @@ -1835,7 +1835,7 @@ public: /// restore the invisible content if it's available on the undo stack bool RestoreInvisibleContent(); - sal_Bool ConvertFieldsToText(); + bool ConvertFieldsToText(); /// Create sub-documents according to given collection. /// If no collection is given, use chapter styles for 1st level. @@ -1883,7 +1883,7 @@ public: // -------------------- Uno - Interfaces --------------------------- const SwUnoCrsrTbl& GetUnoCrsrTbl() const { return *pUnoCrsrTbl; } - SwUnoCrsr* CreateUnoCrsr( const SwPosition& rPos, sal_Bool bTblCrsr = sal_False ); + SwUnoCrsr* CreateUnoCrsr( const SwPosition& rPos, bool bTblCrsr = false ); // -------------------- FeShell - Interfaces ----------------------- // !!! These assume always an existing layout !!! diff --git a/sw/inc/editsh.hxx b/sw/inc/editsh.hxx index 58d8befd6231..ba5fcbd3d133 100644 --- a/sw/inc/editsh.hxx +++ b/sw/inc/editsh.hxx @@ -206,7 +206,7 @@ public: sal_Bool RemoveInvisibleContent(); /// Replace fields by text - mailmerge support. - sal_Bool ConvertFieldsToText(); + bool ConvertFieldsToText(); /// Set all numbering start points to a fixed value - mailmerge support. void SetNumberingRestart(); diff --git a/sw/inc/viscrs.hxx b/sw/inc/viscrs.hxx index f8b274bfaa83..f9ef4eafd458 100644 --- a/sw/inc/viscrs.hxx +++ b/sw/inc/viscrs.hxx @@ -43,8 +43,8 @@ class SwVisCrsr friend void _InitCore(); friend void _FinitCore(); - sal_Bool bIsVisible : 1; - sal_Bool bIsDragCrsr : 1; + bool bIsVisible : 1; + bool bIsDragCrsr : 1; Cursor aTxtCrsr; const SwCrsrShell* pCrsrShell; @@ -58,8 +58,8 @@ public: void Show(); void Hide(); - sal_Bool IsVisible() const { return bIsVisible; } - void SetDragCrsr( sal_Bool bFlag = sal_True ) { bIsDragCrsr = bFlag; } + bool IsVisible() const { return bIsVisible; } + void SetDragCrsr( bool bFlag = true ) { bIsDragCrsr = bFlag; } }; |