diff options
author | Noel Grandin <noel@peralex.com> | 2014-04-25 14:00:35 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-04-30 08:44:42 +0200 |
commit | 6aa35db39311dcd7965c9c9c21fcf4143a1f9b43 (patch) | |
tree | 04320eaf8c7481c1b496460624ee20ec11360ac2 /sw/inc/section.hxx | |
parent | 1417061d1b2c110e7e690523a544b58e7ffd05c0 (diff) |
sw: sal_Bool->bool
Change-Id: I324a0ffde2ddcca105451c19e7aadcfad15211d8
Diffstat (limited to 'sw/inc/section.hxx')
-rw-r--r-- | sw/inc/section.hxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sw/inc/section.hxx b/sw/inc/section.hxx index f42b0c8c451a..7a9365718b96 100644 --- a/sw/inc/section.hxx +++ b/sw/inc/section.hxx @@ -200,7 +200,7 @@ public: void SetCondHidden(bool const bFlag = true); bool IsCondHidden() const { return m_Data.IsCondHidden(); } // Query (also for parents) if this section is to be hidden. - sal_Bool CalcHiddenFlag() const; + bool CalcHiddenFlag() const; inline SwSection* GetParent() const; @@ -261,7 +261,7 @@ public: class SwSectionFrmMoveAndDeleteHint : public SfxSimpleHint { public: - SwSectionFrmMoveAndDeleteHint( const sal_Bool bSaveCntnt ) + SwSectionFrmMoveAndDeleteHint( const bool bSaveCntnt ) : SfxSimpleHint( SFX_HINT_DYING ) , mbSaveCntnt( bSaveCntnt ) {} @@ -269,13 +269,13 @@ class SwSectionFrmMoveAndDeleteHint : public SfxSimpleHint virtual ~SwSectionFrmMoveAndDeleteHint() {} - sal_Bool IsSaveCntnt() const + bool IsSaveCntnt() const { return mbSaveCntnt; } private: - const sal_Bool mbSaveCntnt; + const bool mbSaveCntnt; }; enum SectionSort { SORTSECT_NOT, SORTSECT_NAME, SORTSECT_POS }; @@ -321,10 +321,10 @@ public: // - all of them or only those that are in the normal Nodes-array. sal_uInt16 GetChildSections( SwSections& rArr, SectionSort eSort = SORTSECT_NOT, - sal_Bool bAllSections = sal_True ) const; + bool bAllSections = true ) const; // Query whether section is in Nodes-array or in UndoNodes-array. - sal_Bool IsInNodesArr() const; + bool IsInNodesArr() const; SwSectionNode* GetSectionNode(bool const bEvenIfInUndo = false); const SwSectionNode* GetSectionNode(bool const bEvenIfInUndo = false) const |