diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2012-11-06 14:59:50 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2012-11-06 16:21:15 +0900 |
commit | 91b2da3bc41a09a4d3bbc608268236a7e42f2685 (patch) | |
tree | 5c35c24d1c3913a2b78c24ddb7bafbc537be2e10 /sw/inc | |
parent | efe0cbe6da64b2e150331112becade0ac3a53555 (diff) |
sal_Bool to bool
Change-Id: I3e8b7db8422680b865c10c7ead4ad782e2d5c5e1
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/doc.hxx | 14 | ||||
-rw-r--r-- | sw/inc/editsh.hxx | 4 | ||||
-rw-r--r-- | sw/inc/tox.hxx | 2 |
3 files changed, 10 insertions, 10 deletions
diff --git a/sw/inc/doc.hxx b/sw/inc/doc.hxx index 372f8b6a102f..0183d1f7e971 100644 --- a/sw/inc/doc.hxx +++ b/sw/inc/doc.hxx @@ -1391,18 +1391,18 @@ public: const SwTOXBaseSection* InsertTableOf( const SwPosition& rPos, const SwTOXBase& rTOX, const SfxItemSet* pSet = 0, - sal_Bool bExpand = sal_False ); + bool bExpand = false ); const SwTOXBaseSection* InsertTableOf( sal_uLong nSttNd, sal_uLong nEndNd, const SwTOXBase& rTOX, const SfxItemSet* pSet = 0 ); const SwTOXBase* GetCurTOX( const SwPosition& rPos ) const; const SwAttrSet& GetTOXBaseAttrSet(const SwTOXBase& rTOX) const; - sal_Bool DeleteTOX( const SwTOXBase& rTOXBase, sal_Bool bDelNodes = sal_False ); + bool DeleteTOX( const SwTOXBase& rTOXBase, bool bDelNodes = false ); String GetUniqueTOXBaseName( const SwTOXType& rType, const String* pChkStr = 0 ) const; - sal_Bool SetTOXBaseName(const SwTOXBase& rTOXBase, const String& rName); + bool SetTOXBaseName(const SwTOXBase& rTOXBase, const String& rName); void SetTOXBaseProtection(const SwTOXBase& rTOXBase, sal_Bool bProtect); /// After reading file update all tables/indices. @@ -1433,15 +1433,15 @@ public: const SwTOXType* InsertTOXType( const SwTOXType& rTyp ); const SwTOXTypes& GetTOXTypes() const { return *pTOXTypes; } - const SwTOXBase* GetDefaultTOXBase( TOXTypes eTyp, sal_Bool bCreate = sal_False ); + const SwTOXBase* GetDefaultTOXBase( TOXTypes eTyp, bool bCreate = false ); void SetDefaultTOXBase(const SwTOXBase& rBase); /// Key for management of index. sal_uInt16 GetTOIKeys( SwTOIKeyType eTyp, std::vector<String>& rArr ) const; /// Sort table text. - sal_Bool SortTbl(const SwSelBoxes& rBoxes, const SwSortOptions&); - sal_Bool SortText(const SwPaM&, const SwSortOptions&); + bool SortTbl(const SwSelBoxes& rBoxes, const SwSortOptions&); + bool SortText(const SwPaM&, const SwSortOptions&); // Correct the SwPosition-Objects that are registered with the document // e. g. ::com::sun::star::text::Bookmarks or tables/indices. @@ -1753,7 +1753,7 @@ public: SwSectionFmts& GetSections() { return *pSectionFmtTbl; } const SwSectionFmts& GetSections() const { return *pSectionFmtTbl; } SwSectionFmt *MakeSectionFmt( SwSectionFmt *pDerivedFrom ); - void DelSectionFmt( SwSectionFmt *pFmt, sal_Bool bDelNodes = sal_False ); + void DelSectionFmt( SwSectionFmt *pFmt, bool bDelNodes = false ); void UpdateSection(sal_uInt16 const nSect, SwSectionData &, SfxItemSet const*const = 0, bool const bPreventLinkUpdate = false); String GetUniqueSectionName( const String* pChkStr = 0 ) const; diff --git a/sw/inc/editsh.hxx b/sw/inc/editsh.hxx index 65c19b84dad1..a0c0ebbeaa23 100644 --- a/sw/inc/editsh.hxx +++ b/sw/inc/editsh.hxx @@ -435,7 +435,7 @@ public: sal_Bool UpdateTableOf(const SwTOXBase& rTOX, const SfxItemSet* pSet = 0); const SwTOXBase* GetCurTOX() const; - const SwTOXBase* GetDefaultTOXBase( TOXTypes eTyp, sal_Bool bCreate = sal_False ); + const SwTOXBase* GetDefaultTOXBase( TOXTypes eTyp, bool bCreate = false ); void SetDefaultTOXBase(const SwTOXBase& rBase); sal_Bool IsTOXBaseReadonly(const SwTOXBase& rTOXBase) const; @@ -443,7 +443,7 @@ public: sal_uInt16 GetTOXCount() const; const SwTOXBase* GetTOX( sal_uInt16 nPos ) const; - sal_Bool DeleteTOX( const SwTOXBase& rTOXBase, sal_Bool bDelNodes = sal_False ); + bool DeleteTOX( const SwTOXBase& rTOXBase, bool bDelNodes = false ); /// After reading file update all content tables. void SetUpdateTOX( sal_Bool bFlag = sal_True ); diff --git a/sw/inc/tox.hxx b/sw/inc/tox.hxx index 0368e3a8ed61..c6a33c3146cb 100644 --- a/sw/inc/tox.hxx +++ b/sw/inc/tox.hxx @@ -560,7 +560,7 @@ public: SwCaptionDisplay GetCaptionDisplay() const { return eCaptionDisplay;} void SetCaptionDisplay(SwCaptionDisplay eSet) {eCaptionDisplay = eSet;} - sal_Bool IsTOXBaseInReadonly() const; + bool IsTOXBaseInReadonly() const; const SfxItemSet* GetAttrSet() const; void SetAttrSet( const SfxItemSet& ); |