diff options
Diffstat (limited to 'sw/inc/fmthdft.hxx')
-rw-r--r-- | sw/inc/fmthdft.hxx | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/sw/inc/fmthdft.hxx b/sw/inc/fmthdft.hxx index 14c71d6a0264..c8773d61d1d5 100644 --- a/sw/inc/fmthdft.hxx +++ b/sw/inc/fmthdft.hxx @@ -41,10 +41,10 @@ class IntlWrapper; class SW_DLLPUBLIC SwFmtHeader: public SfxPoolItem, public SwClient { - BOOL bActive; //Nur zur Steuerung (Erzeugung des Inhaltes) + sal_Bool bActive; //Nur zur Steuerung (Erzeugung des Inhaltes) public: - SwFmtHeader( BOOL bOn = FALSE ); + SwFmtHeader( sal_Bool bOn = sal_False ); SwFmtHeader( SwFrmFmt *pHeaderFmt ); SwFmtHeader( const SwFmtHeader &rCpy ); ~SwFmtHeader(); @@ -64,8 +64,8 @@ public: const SwFrmFmt *GetHeaderFmt() const { return (SwFrmFmt*)pRegisteredIn; } SwFrmFmt *GetHeaderFmt() { return (SwFrmFmt*)pRegisteredIn; } - BOOL IsActive() const { return bActive; } - void SetActive( BOOL bNew = TRUE ) { bActive = bNew; } + sal_Bool IsActive() const { return bActive; } + void SetActive( sal_Bool bNew = sal_True ) { bActive = bNew; } }; //Fusszeile, fuer Seitenformate @@ -73,10 +73,10 @@ public: class SW_DLLPUBLIC SwFmtFooter: public SfxPoolItem, public SwClient { - BOOL bActive; //Nur zur Steuerung (Erzeugung des Inhaltes) + sal_Bool bActive; //Nur zur Steuerung (Erzeugung des Inhaltes) public: - SwFmtFooter( BOOL bOn = FALSE ); + SwFmtFooter( sal_Bool bOn = sal_False ); SwFmtFooter( SwFrmFmt *pFooterFmt ); SwFmtFooter( const SwFmtFooter &rCpy ); ~SwFmtFooter(); @@ -96,18 +96,18 @@ public: const SwFrmFmt *GetFooterFmt() const { return (SwFrmFmt*)pRegisteredIn; } SwFrmFmt *GetFooterFmt() { return (SwFrmFmt*)pRegisteredIn; } - BOOL IsActive() const { return bActive; } - void SetActive( BOOL bNew = TRUE ) { bActive = bNew; } + sal_Bool IsActive() const { return bActive; } + void SetActive( sal_Bool bNew = sal_True ) { bActive = bNew; } }; -inline const SwFmtHeader &SwAttrSet::GetHeader(BOOL bInP) const +inline const SwFmtHeader &SwAttrSet::GetHeader(sal_Bool bInP) const { return (const SwFmtHeader&)Get( RES_HEADER,bInP); } -inline const SwFmtFooter &SwAttrSet::GetFooter(BOOL bInP) const +inline const SwFmtFooter &SwAttrSet::GetFooter(sal_Bool bInP) const { return (const SwFmtFooter&)Get( RES_FOOTER,bInP); } -inline const SwFmtHeader &SwFmt::GetHeader(BOOL bInP) const +inline const SwFmtHeader &SwFmt::GetHeader(sal_Bool bInP) const { return aSet.GetHeader(bInP); } -inline const SwFmtFooter &SwFmt::GetFooter(BOOL bInP) const +inline const SwFmtFooter &SwFmt::GetFooter(sal_Bool bInP) const { return aSet.GetFooter(bInP); } #endif |