diff options
Diffstat (limited to 'svx/source/dialog/hdft.cxx')
-rw-r--r-- | svx/source/dialog/hdft.cxx | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/svx/source/dialog/hdft.cxx b/svx/source/dialog/hdft.cxx index 9b2032248e64..9b90df4cdc9f 100644 --- a/svx/source/dialog/hdft.cxx +++ b/svx/source/dialog/hdft.cxx @@ -112,28 +112,28 @@ sal_uInt16* SvxHeaderPage::GetRanges() return pRanges; } -//------------------------------------------------------------------------ + SfxTabPage* SvxHeaderPage::Create( Window* pParent, const SfxItemSet& rSet ) { return new SvxHeaderPage( pParent, rSet ); } -//------------------------------------------------------------------------ + sal_uInt16* SvxFooterPage::GetRanges() { return pRanges; } -// ----------------------------------------------------------------------- + SfxTabPage* SvxFooterPage::Create( Window* pParent, const SfxItemSet& rSet ) { return new SvxFooterPage( pParent, rSet ); } -// ----------------------------------------------------------------------- + SvxHeaderPage::SvxHeaderPage( Window* pParent, const SfxItemSet& rAttr ) : @@ -142,7 +142,7 @@ SvxHeaderPage::SvxHeaderPage( Window* pParent, const SfxItemSet& rAttr ) : { } -// ----------------------------------------------------------------------- + SvxFooterPage::SvxFooterPage( Window* pParent, const SfxItemSet& rAttr ) : @@ -151,7 +151,7 @@ SvxFooterPage::SvxFooterPage( Window* pParent, const SfxItemSet& rAttr ) : { } -// ----------------------------------------------------------------------- + SvxHFPage::SvxHFPage( Window* pParent, const SfxItemSet& rSet, sal_uInt16 nSetId ) : @@ -206,14 +206,14 @@ SvxHFPage::SvxHFPage( Window* pParent, const SfxItemSet& rSet, sal_uInt16 nSetId SetFieldUnit( *m_pRMEdit, eFUnit ); } -// ----------------------------------------------------------------------- + SvxHFPage::~SvxHFPage() { delete pBBSet; } -// ----------------------------------------------------------------------- + sal_Bool SvxHFPage::FillItemSet( SfxItemSet& rSet ) { @@ -248,7 +248,7 @@ sal_Bool SvxHFPage::FillItemSet( SfxItemSet& rSet ) SfxMapUnit eUnit = pPool->GetMetric( nWSize ); SfxItemSet aSet ( *pPool, aWhichTab ); - //-------------------------------------------------------------------- + aSet.Put( SfxBoolItem( nWOn, m_pTurnOnBox->IsChecked() ) ); aSet.Put( SfxBoolItem( nWDynamic, m_pHeightDynBtn->IsChecked() ) ); @@ -318,7 +318,7 @@ sal_Bool SvxHFPage::FillItemSet( SfxItemSet& rSet ) return sal_True; } -// ----------------------------------------------------------------------- + void SvxHFPage::Reset( const SfxItemSet& rSet ) { ActivatePage( rSet ); @@ -570,7 +570,7 @@ IMPL_LINK_NOARG(SvxHFPage, BackgroundHdl) if ( svx::ShowBorderBackgroundDlg( this, pBBSet, bEnableBackgroundSelector ) ) { - //---------------------------------------------------------------- + sal_uInt16 nWhich = GetWhich( SID_ATTR_BRUSH ); @@ -583,7 +583,7 @@ IMPL_LINK_NOARG(SvxHFPage, BackgroundHdl) m_pBspWin->SetFtColor( rItem.GetColor() ); } - //---------------------------------------------------------------- + nWhich = GetWhich( SID_ATTR_BORDER_OUTER ); |