diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-08-30 09:57:11 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-08-30 17:13:57 +0200 |
commit | 412c1a3089904a95e18b3ac34eb432e4b87c8fbb (patch) | |
tree | c84808cd524a76851a9c0e987899ff58b24d8a3f /svx | |
parent | 340bde53376dfa844270bcdf991b5f4183981bb9 (diff) |
weld SvxHeaderPage/SvxHeaderPage
Change-Id: I86f14a38c32baf46ccb5674005192fea2665719d
Reviewed-on: https://gerrit.libreoffice.org/59801
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/dialog/hdft.cxx | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/svx/source/dialog/hdft.cxx b/svx/source/dialog/hdft.cxx index 7ca86e2e132c..b0e8661f1c03 100644 --- a/svx/source/dialog/hdft.cxx +++ b/svx/source/dialog/hdft.cxx @@ -108,25 +108,21 @@ namespace svx { VclPtr<SfxTabPage> SvxHeaderPage::Create( TabPageParent pParent, const SfxItemSet* rSet ) { - return VclPtr<SvxHeaderPage>::Create( pParent.pParent, *rSet ); + return VclPtr<SvxHeaderPage>::Create( pParent, *rSet ); } VclPtr<SfxTabPage> SvxFooterPage::Create( TabPageParent pParent, const SfxItemSet* rSet ) { - return VclPtr<SvxFooterPage>::Create( pParent.pParent, *rSet ); + return VclPtr<SvxFooterPage>::Create( pParent, *rSet ); } -SvxHeaderPage::SvxHeaderPage( vcl::Window* pParent, const SfxItemSet& rAttr ) : - - SvxHFPage( pParent, rAttr, SID_ATTR_PAGE_HEADERSET ) - +SvxHeaderPage::SvxHeaderPage(TabPageParent pParent, const SfxItemSet& rAttr) + : SvxHFPage( pParent, rAttr, SID_ATTR_PAGE_HEADERSET ) { } -SvxFooterPage::SvxFooterPage( vcl::Window* pParent, const SfxItemSet& rAttr ) : - - SvxHFPage( pParent, rAttr, SID_ATTR_PAGE_FOOTERSET ) - +SvxFooterPage::SvxFooterPage(TabPageParent pParent, const SfxItemSet& rAttr) + : SvxHFPage( pParent, rAttr, SID_ATTR_PAGE_FOOTERSET ) { } |