diff options
-rw-r--r-- | include/svx/hdft.hxx | 8 | ||||
-rw-r--r-- | svx/source/dialog/hdft.cxx | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/include/svx/hdft.hxx b/include/svx/hdft.hxx index 54066bbaf65c..59f34435b6ea 100644 --- a/include/svx/hdft.hxx +++ b/include/svx/hdft.hxx @@ -49,8 +49,8 @@ public: virtual ~SvxHFPage(); - void DisableDeleteQueryBox() { bDisableQueryBox = sal_True; } - void EnableBackgroundSelector( sal_Bool bNew ) { bEnableBackgroundSelector = bNew; } + void DisableDeleteQueryBox() { bDisableQueryBox = true; } + void EnableBackgroundSelector( bool bNew ) { bEnableBackgroundSelector = bNew; } void EnableDynamicSpacing(); protected: @@ -78,8 +78,8 @@ protected: sal_uInt16 nId; SfxItemSet* pBBSet; - sal_Bool bDisableQueryBox; - sal_Bool bEnableBackgroundSelector; + bool bDisableQueryBox; + bool bEnableBackgroundSelector; bool bInReset; void InitHandler(); diff --git a/svx/source/dialog/hdft.cxx b/svx/source/dialog/hdft.cxx index 9b90df4cdc9f..aad1dcc3ce93 100644 --- a/svx/source/dialog/hdft.cxx +++ b/svx/source/dialog/hdft.cxx @@ -158,8 +158,8 @@ SvxHFPage::SvxHFPage( Window* pParent, const SfxItemSet& rSet, sal_uInt16 nSetId SfxTabPage( pParent, "HFFormatPage", "svx/ui/headfootformatpage.ui", rSet ), nId ( nSetId ), pBBSet ( NULL ), - bDisableQueryBox ( sal_False ), - bEnableBackgroundSelector ( sal_True ) + bDisableQueryBox ( false ), + bEnableBackgroundSelector ( true ) { get(m_pCntSharedBox,"checkSameLR"); |