diff options
Diffstat (limited to 'sc/source/ui/inc/tphf.hxx')
-rw-r--r-- | sc/source/ui/inc/tphf.hxx | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/sc/source/ui/inc/tphf.hxx b/sc/source/ui/inc/tphf.hxx index 94a8b28c1186..17d7c2a598aa 100644 --- a/sc/source/ui/inc/tphf.hxx +++ b/sc/source/ui/inc/tphf.hxx @@ -28,7 +28,6 @@ class ScHFPage : public SvxHFPage { public: virtual ~ScHFPage() override; - virtual void dispose() override; virtual void Reset( const SfxItemSet* rSet ) override; virtual bool FillItemSet( SfxItemSet* rOutSet ) override; @@ -39,8 +38,6 @@ public: protected: ScHFPage(TabPageParent pParent, const SfxItemSet& rSet, sal_uInt16 nSetId); - virtual void ActivatePage() override; - virtual void DeactivatePage() override; virtual void ActivatePage( const SfxItemSet& rSet ) override; virtual DeactivateRC DeactivatePage( SfxItemSet* pSet ) override; @@ -58,24 +55,18 @@ private: class ScHeaderPage : public ScHFPage { - friend class VclPtr<ScHeaderPage>; public: - static VclPtr<SfxTabPage> Create( TabPageParent pParent, const SfxItemSet* rSet ); - static const sal_uInt16* GetRanges(); - -private: + static std::unique_ptr<SfxTabPage> Create( TabPageParent pParent, const SfxItemSet* rSet ); ScHeaderPage(TabPageParent pParent, const SfxItemSet& rSet); + static const sal_uInt16* GetRanges(); }; class ScFooterPage : public ScHFPage { - friend class VclPtr<ScFooterPage>; public: - static VclPtr<SfxTabPage> Create( TabPageParent pParent, const SfxItemSet* rSet ); - static const sal_uInt16* GetRanges(); - -private: + static std::unique_ptr<SfxTabPage> Create( TabPageParent pParent, const SfxItemSet* rSet ); ScFooterPage(TabPageParent pParent, const SfxItemSet& rSet); + static const sal_uInt16* GetRanges(); }; #endif // INCLUDED_SC_SOURCE_UI_INC_TPHF_HXX |