diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-09-24 14:10:48 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-09-26 09:54:49 +0200 |
commit | deb37c44ecfb8f6aa7c2ceec4771b0505fa7b6bb (patch) | |
tree | 3953ca620e27fed0442272fdabea9735fd6f3dcd /sc/source/ui/inc | |
parent | a37e559ed123789f6bc8f7972242d6461ce692ab (diff) |
now drop TabPageParent intermediate
Change-Id: I47328f76342ac023628d9042bdfa8213a1c93d0c
Reviewed-on: https://gerrit.libreoffice.org/79469
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/ui/inc')
-rw-r--r-- | sc/source/ui/inc/opredlin.hxx | 4 | ||||
-rw-r--r-- | sc/source/ui/inc/prevwsh.hxx | 2 | ||||
-rw-r--r-- | sc/source/ui/inc/scuitphfedit.hxx | 18 | ||||
-rw-r--r-- | sc/source/ui/inc/tabpages.hxx | 4 | ||||
-rw-r--r-- | sc/source/ui/inc/tabvwsh.hxx | 2 | ||||
-rw-r--r-- | sc/source/ui/inc/tpcalc.hxx | 4 | ||||
-rw-r--r-- | sc/source/ui/inc/tpcompatibility.hxx | 4 | ||||
-rw-r--r-- | sc/source/ui/inc/tpdefaults.hxx | 4 | ||||
-rw-r--r-- | sc/source/ui/inc/tpformula.hxx | 4 | ||||
-rw-r--r-- | sc/source/ui/inc/tphf.hxx | 10 | ||||
-rw-r--r-- | sc/source/ui/inc/tpprint.hxx | 4 | ||||
-rw-r--r-- | sc/source/ui/inc/tpsort.hxx | 8 | ||||
-rw-r--r-- | sc/source/ui/inc/tpstat.hxx | 4 | ||||
-rw-r--r-- | sc/source/ui/inc/tpsubt.hxx | 18 | ||||
-rw-r--r-- | sc/source/ui/inc/tptable.hxx | 4 | ||||
-rw-r--r-- | sc/source/ui/inc/tpusrlst.hxx | 4 | ||||
-rw-r--r-- | sc/source/ui/inc/tpview.hxx | 8 | ||||
-rw-r--r-- | sc/source/ui/inc/validate.hxx | 12 |
18 files changed, 59 insertions, 59 deletions
diff --git a/sc/source/ui/inc/opredlin.hxx b/sc/source/ui/inc/opredlin.hxx index dba8539c90d2..b32d848dd6aa 100644 --- a/sc/source/ui/inc/opredlin.hxx +++ b/sc/source/ui/inc/opredlin.hxx @@ -31,8 +31,8 @@ class ScRedlineOptionsTabPage : public SfxTabPage std::unique_ptr<ColorListBox> m_xMoveColorLB; public: - ScRedlineOptionsTabPage(TabPageParent pParent, const SfxItemSet& rSet ); - static std::unique_ptr<SfxTabPage> Create( TabPageParent pParent, const SfxItemSet* rAttrSet ); + ScRedlineOptionsTabPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet ); + static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rAttrSet ); virtual ~ScRedlineOptionsTabPage() override; virtual bool FillItemSet( SfxItemSet* rSet ) override; diff --git a/sc/source/ui/inc/prevwsh.hxx b/sc/source/ui/inc/prevwsh.hxx index 8c2660ea5319..9ea577b4f622 100644 --- a/sc/source/ui/inc/prevwsh.hxx +++ b/sc/source/ui/inc/prevwsh.hxx @@ -104,7 +104,7 @@ public: virtual SfxPrinter* GetPrinter( bool bCreate = false ) override; virtual sal_uInt16 SetPrinter( SfxPrinter* pNewPrinter, SfxPrinterChangeFlags nDiffFlags = SFX_PRINTER_ALL ) override; virtual bool HasPrintOptionsPage() const override; - virtual std::unique_ptr<SfxTabPage> CreatePrintOptionsPage(TabPageParent pParent, const SfxItemSet &rOptions) override; + virtual std::unique_ptr<SfxTabPage> CreatePrintOptionsPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet &rOptions) override; void AddAccessibilityObject( SfxListener& rObject ); void RemoveAccessibilityObject( SfxListener& rObject ); diff --git a/sc/source/ui/inc/scuitphfedit.hxx b/sc/source/ui/inc/scuitphfedit.hxx index 0f114fa13d9c..fd3c301e7653 100644 --- a/sc/source/ui/inc/scuitphfedit.hxx +++ b/sc/source/ui/inc/scuitphfedit.hxx @@ -54,7 +54,7 @@ public: void ClearTextAreas(); protected: - ScHFEditPage( TabPageParent pParent, + ScHFEditPage( weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rCoreSet, sal_uInt16 nWhich, bool bHeader ); @@ -116,29 +116,29 @@ private: class ScRightHeaderEditPage : public ScHFEditPage { public: - static std::unique_ptr<SfxTabPage> Create( TabPageParent pParent, const SfxItemSet* rCoreSet ); - ScRightHeaderEditPage( TabPageParent pParent, const SfxItemSet& rSet ); + static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rCoreSet ); + ScRightHeaderEditPage( weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet ); }; class ScLeftHeaderEditPage : public ScHFEditPage { public: - static std::unique_ptr<SfxTabPage> Create( TabPageParent pParent, const SfxItemSet* rCoreSet ); - ScLeftHeaderEditPage( TabPageParent pParent, const SfxItemSet& rSet ); + static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rCoreSet ); + ScLeftHeaderEditPage( weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet ); }; class ScRightFooterEditPage : public ScHFEditPage { public: - static std::unique_ptr<SfxTabPage> Create( TabPageParent pParent, const SfxItemSet* rCoreSet ); - ScRightFooterEditPage( TabPageParent pParent, const SfxItemSet& rSet ); + static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rCoreSet ); + ScRightFooterEditPage( weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet ); }; class ScLeftFooterEditPage : public ScHFEditPage { public: - static std::unique_ptr<SfxTabPage> Create( TabPageParent pParent, const SfxItemSet* rCoreSet ); - ScLeftFooterEditPage( TabPageParent pParent, const SfxItemSet& rSet ); + static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rCoreSet ); + ScLeftFooterEditPage( weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet ); }; #endif diff --git a/sc/source/ui/inc/tabpages.hxx b/sc/source/ui/inc/tabpages.hxx index 9cdffb2144d3..ba8e35e4945f 100644 --- a/sc/source/ui/inc/tabpages.hxx +++ b/sc/source/ui/inc/tabpages.hxx @@ -26,8 +26,8 @@ class ScTabPageProtection : public SfxTabPage { static const sal_uInt16 pProtectionRanges[]; public: - ScTabPageProtection(TabPageParent pParent, const SfxItemSet& rCoreAttrs); - static std::unique_ptr<SfxTabPage> Create(TabPageParent pParent, + ScTabPageProtection(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rCoreAttrs); + static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rAttrSet); virtual ~ScTabPageProtection() override; diff --git a/sc/source/ui/inc/tabvwsh.hxx b/sc/source/ui/inc/tabvwsh.hxx index 3b6005afa36f..f1a67a7f96a8 100644 --- a/sc/source/ui/inc/tabvwsh.hxx +++ b/sc/source/ui/inc/tabvwsh.hxx @@ -319,7 +319,7 @@ public: SfxPrinterChangeFlags nDiffFlags = SFX_PRINTER_ALL ) override; virtual bool HasPrintOptionsPage() const override; - virtual std::unique_ptr<SfxTabPage> CreatePrintOptionsPage(TabPageParent pParent, const SfxItemSet &rOptions) override; + virtual std::unique_ptr<SfxTabPage> CreatePrintOptionsPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet &rOptions) override; void ConnectObject( const SdrOle2Obj* pObj ); void ActivateObject( SdrOle2Obj* pObj, long nVerb ); diff --git a/sc/source/ui/inc/tpcalc.hxx b/sc/source/ui/inc/tpcalc.hxx index d32704f496f4..150a5a615d11 100644 --- a/sc/source/ui/inc/tpcalc.hxx +++ b/sc/source/ui/inc/tpcalc.hxx @@ -28,8 +28,8 @@ class ScDocOptions; class ScTpCalcOptions : public SfxTabPage { public: - ScTpCalcOptions(TabPageParent pParent, const SfxItemSet& rCoreSet); - static std::unique_ptr<SfxTabPage> Create(TabPageParent pParent, const SfxItemSet* rCoreSet); + ScTpCalcOptions(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rCoreSet); + static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rCoreSet); virtual ~ScTpCalcOptions() override; virtual bool FillItemSet ( SfxItemSet* rCoreSet ) override; virtual void Reset ( const SfxItemSet* rCoreSet ) override; diff --git a/sc/source/ui/inc/tpcompatibility.hxx b/sc/source/ui/inc/tpcompatibility.hxx index 4bceec955a15..4a61426a5431 100644 --- a/sc/source/ui/inc/tpcompatibility.hxx +++ b/sc/source/ui/inc/tpcompatibility.hxx @@ -15,8 +15,8 @@ class ScTpCompatOptions : public SfxTabPage { public: - explicit ScTpCompatOptions(TabPageParent pParent, const SfxItemSet& rCoreAttrs); - static std::unique_ptr<SfxTabPage> Create(TabPageParent pParent, const SfxItemSet* rCoreAttrs); + explicit ScTpCompatOptions(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rCoreAttrs); + static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rCoreAttrs); virtual ~ScTpCompatOptions() override; virtual bool FillItemSet(SfxItemSet* rCoreAttrs) override; diff --git a/sc/source/ui/inc/tpdefaults.hxx b/sc/source/ui/inc/tpdefaults.hxx index a2a88e7e95f9..44eea6e872a0 100644 --- a/sc/source/ui/inc/tpdefaults.hxx +++ b/sc/source/ui/inc/tpdefaults.hxx @@ -16,8 +16,8 @@ class ScTpDefaultsOptions : public SfxTabPage { public: - explicit ScTpDefaultsOptions(TabPageParent pParent, const SfxItemSet& rCoreSet); - static std::unique_ptr<SfxTabPage> Create(TabPageParent pParent, const SfxItemSet* rCoreSet); + explicit ScTpDefaultsOptions(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rCoreSet); + static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rCoreSet); virtual ~ScTpDefaultsOptions() override; virtual bool FillItemSet(SfxItemSet* rCoreSet) override; diff --git a/sc/source/ui/inc/tpformula.hxx b/sc/source/ui/inc/tpformula.hxx index 2aee580c16a3..4de05560cfd3 100644 --- a/sc/source/ui/inc/tpformula.hxx +++ b/sc/source/ui/inc/tpformula.hxx @@ -28,8 +28,8 @@ class ScTpFormulaOptions : public SfxTabPage { public: - explicit ScTpFormulaOptions(TabPageParent pParent, const SfxItemSet& rCoreSet); - static std::unique_ptr<SfxTabPage> Create(TabPageParent pParent, const SfxItemSet* rCoreSet); + explicit ScTpFormulaOptions(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rCoreSet); + static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rCoreSet); virtual ~ScTpFormulaOptions() override; virtual bool FillItemSet(SfxItemSet* rCoreSet) override; diff --git a/sc/source/ui/inc/tphf.hxx b/sc/source/ui/inc/tphf.hxx index 17d7c2a598aa..53c71e3d86c1 100644 --- a/sc/source/ui/inc/tphf.hxx +++ b/sc/source/ui/inc/tphf.hxx @@ -36,7 +36,7 @@ public: void SetStyleDlg ( ScStyleDlg* pDlg ) { pStyleDlg = pDlg; } protected: - ScHFPage(TabPageParent pParent, const SfxItemSet& rSet, sal_uInt16 nSetId); + ScHFPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet, sal_uInt16 nSetId); virtual void ActivatePage( const SfxItemSet& rSet ) override; virtual DeactivateRC DeactivatePage( SfxItemSet* pSet ) override; @@ -56,16 +56,16 @@ private: class ScHeaderPage : public ScHFPage { public: - static std::unique_ptr<SfxTabPage> Create( TabPageParent pParent, const SfxItemSet* rSet ); - ScHeaderPage(TabPageParent pParent, const SfxItemSet& rSet); + static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rSet ); + ScHeaderPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet); static const sal_uInt16* GetRanges(); }; class ScFooterPage : public ScHFPage { public: - static std::unique_ptr<SfxTabPage> Create( TabPageParent pParent, const SfxItemSet* rSet ); - ScFooterPage(TabPageParent pParent, const SfxItemSet& rSet); + static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rSet ); + ScFooterPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet); static const sal_uInt16* GetRanges(); }; diff --git a/sc/source/ui/inc/tpprint.hxx b/sc/source/ui/inc/tpprint.hxx index ef15a39b7537..4e2d0f91712c 100644 --- a/sc/source/ui/inc/tpprint.hxx +++ b/sc/source/ui/inc/tpprint.hxx @@ -29,8 +29,8 @@ class ScTpPrintOptions : public SfxTabPage std::unique_ptr<weld::CheckButton> m_xForceBreaksCB; public: - ScTpPrintOptions(TabPageParent pPage, const SfxItemSet& rCoreSet); - static std::unique_ptr<SfxTabPage> Create( TabPageParent pParent, const SfxItemSet* rCoreSet ); + ScTpPrintOptions(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rCoreSet); + static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rCoreSet ); virtual ~ScTpPrintOptions() override; virtual bool FillItemSet( SfxItemSet* rCoreSet ) override; diff --git a/sc/source/ui/inc/tpsort.hxx b/sc/source/ui/inc/tpsort.hxx index 655ff11747aa..5765b7096e05 100644 --- a/sc/source/ui/inc/tpsort.hxx +++ b/sc/source/ui/inc/tpsort.hxx @@ -42,8 +42,8 @@ class ScViewData; class ScTabPageSortFields : public SfxTabPage { public: - ScTabPageSortFields(TabPageParent pParent, const SfxItemSet& rArgSet); - static std::unique_ptr<SfxTabPage> Create(TabPageParent pParent, const SfxItemSet* rArgSet); + ScTabPageSortFields(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rArgSet); + static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rArgSet); virtual ~ScTabPageSortFields() override; virtual bool FillItemSet ( SfxItemSet* rArgSet ) override; @@ -94,8 +94,8 @@ class ScDocument; class ScTabPageSortOptions : public SfxTabPage { public: - ScTabPageSortOptions(TabPageParent pParent, const SfxItemSet& rArgSet); - static std::unique_ptr<SfxTabPage> Create(TabPageParent pParent, const SfxItemSet* pArgSet); + ScTabPageSortOptions(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rArgSet); + static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* pArgSet); virtual bool FillItemSet ( SfxItemSet* rArgSet ) override; virtual void Reset ( const SfxItemSet* rArgSet ) override; diff --git a/sc/source/ui/inc/tpstat.hxx b/sc/source/ui/inc/tpstat.hxx index a317345dcadd..71d3dd7cd94b 100644 --- a/sc/source/ui/inc/tpstat.hxx +++ b/sc/source/ui/inc/tpstat.hxx @@ -25,8 +25,8 @@ class ScDocStatPage: public SfxTabPage { public: - static std::unique_ptr<SfxTabPage> Create(TabPageParent pParent, const SfxItemSet* rSet); - ScDocStatPage(TabPageParent pParent, const SfxItemSet& rSet); + static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rSet); + ScDocStatPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet); virtual ~ScDocStatPage() override; protected: diff --git a/sc/source/ui/inc/tpsubt.hxx b/sc/source/ui/inc/tpsubt.hxx index 4f3c48ee880e..f4e52a5a6517 100644 --- a/sc/source/ui/inc/tpsubt.hxx +++ b/sc/source/ui/inc/tpsubt.hxx @@ -33,7 +33,7 @@ struct ScSubTotalParam; class ScTpSubTotalGroup : public SfxTabPage { protected: - ScTpSubTotalGroup(TabPageParent pParent, const SfxItemSet& rArgSet); + ScTpSubTotalGroup(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rArgSet); public: virtual ~ScTpSubTotalGroup() override; @@ -76,9 +76,9 @@ private: class ScTpSubTotalGroup1 final : public ScTpSubTotalGroup { public: - ScTpSubTotalGroup1( TabPageParent pParent, + ScTpSubTotalGroup1( weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rArgSet ); - static std::unique_ptr<SfxTabPage> Create ( TabPageParent pParent, + static std::unique_ptr<SfxTabPage> Create ( weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rArgSet ); virtual ~ScTpSubTotalGroup1() override; @@ -89,9 +89,9 @@ public: class ScTpSubTotalGroup2 final : public ScTpSubTotalGroup { public: - ScTpSubTotalGroup2( TabPageParent pParent, + ScTpSubTotalGroup2( weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rArgSet ); - static std::unique_ptr<SfxTabPage> Create ( TabPageParent pParent, + static std::unique_ptr<SfxTabPage> Create ( weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rArgSet ); virtual ~ScTpSubTotalGroup2() override; @@ -102,9 +102,9 @@ public: class ScTpSubTotalGroup3 final : public ScTpSubTotalGroup { public: - ScTpSubTotalGroup3( TabPageParent pParent, + ScTpSubTotalGroup3( weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rArgSet ); - static std::unique_ptr<SfxTabPage> Create ( TabPageParent pParent, + static std::unique_ptr<SfxTabPage> Create ( weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rArgSet ); virtual ~ScTpSubTotalGroup3() override; @@ -115,8 +115,8 @@ public: class ScTpSubTotalOptions final : public SfxTabPage { public: - ScTpSubTotalOptions(TabPageParent pParent, const SfxItemSet& rArgSet); - static std::unique_ptr<SfxTabPage> Create ( TabPageParent pParent, + ScTpSubTotalOptions(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rArgSet); + static std::unique_ptr<SfxTabPage> Create ( weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rArgSet ); virtual ~ScTpSubTotalOptions() override; diff --git a/sc/source/ui/inc/tptable.hxx b/sc/source/ui/inc/tptable.hxx index fe517c35a5a1..fe86f338ec9a 100644 --- a/sc/source/ui/inc/tptable.hxx +++ b/sc/source/ui/inc/tptable.hxx @@ -26,8 +26,8 @@ class ScTablePage : public SfxTabPage { static const sal_uInt16 pPageTableRanges[]; public: - ScTablePage(TabPageParent pParent, const SfxItemSet& rCoreSet); - static std::unique_ptr<SfxTabPage> Create(TabPageParent pParent, const SfxItemSet* rCoreSet); + ScTablePage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rCoreSet); + static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rCoreSet); virtual ~ScTablePage() override; static const sal_uInt16* GetRanges () { return pPageTableRanges; } diff --git a/sc/source/ui/inc/tpusrlst.hxx b/sc/source/ui/inc/tpusrlst.hxx index 438d897569a9..dd3d4cf133a4 100644 --- a/sc/source/ui/inc/tpusrlst.hxx +++ b/sc/source/ui/inc/tpusrlst.hxx @@ -33,8 +33,8 @@ class ScRefAddress; class ScTpUserLists : public SfxTabPage { public: - ScTpUserLists(TabPageParent pParent, const SfxItemSet& rArgSet); - static std::unique_ptr<SfxTabPage> Create(TabPageParent pParent, + ScTpUserLists(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rArgSet); + static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rAttrSet); virtual ~ScTpUserLists() override; virtual bool FillItemSet ( SfxItemSet* rCoreAttrs ) override; diff --git a/sc/source/ui/inc/tpview.hxx b/sc/source/ui/inc/tpview.hxx index 3e47c2d8ae03..bed1e1325e69 100644 --- a/sc/source/ui/inc/tpview.hxx +++ b/sc/source/ui/inc/tpview.hxx @@ -62,8 +62,8 @@ class ScTpContentOptions : public SfxTabPage DECL_LINK( CBHdl, weld::ToggleButton&, void ); public: - ScTpContentOptions(TabPageParent pParent, const SfxItemSet& rArgSet); - static std::unique_ptr<SfxTabPage> Create(TabPageParent pParent, const SfxItemSet* rCoreSet); + ScTpContentOptions(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rArgSet); + static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rCoreSet); virtual ~ScTpContentOptions() override; virtual bool FillItemSet ( SfxItemSet* rCoreSet ) override; virtual void Reset ( const SfxItemSet* rCoreSet ) override; @@ -100,8 +100,8 @@ class ScTpLayoutOptions : public SfxTabPage public: - ScTpLayoutOptions(TabPageParent pParent, const SfxItemSet& rArgSet ); - static std::unique_ptr<SfxTabPage> Create(TabPageParent pParent, + ScTpLayoutOptions(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rArgSet ); + static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rCoreSet); virtual ~ScTpLayoutOptions() override; virtual bool FillItemSet ( SfxItemSet* rCoreSet ) override; diff --git a/sc/source/ui/inc/validate.hxx b/sc/source/ui/inc/validate.hxx index d5f33838f818..2bb9043e8fb3 100644 --- a/sc/source/ui/inc/validate.hxx +++ b/sc/source/ui/inc/validate.hxx @@ -77,8 +77,8 @@ class ScTPValidationValue : public ScRefHandlerCaller, public SfxTabPage { static const sal_uInt16 pValueRanges[]; public: - explicit ScTPValidationValue(TabPageParent pParent, const SfxItemSet& rArgSet); - static std::unique_ptr<SfxTabPage> Create( TabPageParent pParent, const SfxItemSet* rArgSet ); + explicit ScTPValidationValue(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rArgSet); + static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rArgSet ); virtual ~ScTPValidationValue() override; static const sal_uInt16* GetRanges() { return pValueRanges; } @@ -237,8 +237,8 @@ private: std::unique_ptr<weld::TextView> m_xEdInputHelp; public: - ScTPValidationHelp(TabPageParent pParent, const SfxItemSet& rArgSet); - static std::unique_ptr<SfxTabPage> Create(TabPageParent pParent, const SfxItemSet* rArgSet); + ScTPValidationHelp(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rArgSet); + static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rArgSet); virtual ~ScTPValidationHelp() override; virtual bool FillItemSet ( SfxItemSet* rArgSet ) override; @@ -262,8 +262,8 @@ private: DECL_LINK(ClickSearchHdl, weld::Button&, void); public: - ScTPValidationError(TabPageParent pParent, const SfxItemSet& rArgSet); - static std::unique_ptr<SfxTabPage> Create(TabPageParent pParent, const SfxItemSet* rArgSet); + ScTPValidationError(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rArgSet); + static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rArgSet); virtual ~ScTPValidationError() override; virtual bool FillItemSet ( SfxItemSet* rArgSet ) override; |