diff options
author | Noel Grandin <noel@peralex.com> | 2015-04-17 15:30:46 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-04-17 15:30:46 +0200 |
commit | f0f786e8fc7165a22b67ec73331ee8d66c01409c (patch) | |
tree | cf89f242c7bfa41b6a8c96e51c9b53205d090189 /sw/source/uibase | |
parent | 0269ef901119635fa809245698c985b30e648ef4 (diff) |
sw: convert new to ::Create.
Change-Id: I1669be3e1dfdb6733952b2a801371da243fb94c2
Diffstat (limited to 'sw/source/uibase')
-rw-r--r-- | sw/source/uibase/inc/column.hxx | 3 | ||||
-rw-r--r-- | sw/source/uibase/inc/frmpage.hxx | 11 | ||||
-rw-r--r-- | sw/source/uibase/inc/pgfnote.hxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/inc/pggrid.hxx | 3 | ||||
-rw-r--r-- | sw/source/uibase/inc/wrap.hxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/table/tablepg.hxx | 2 |
6 files changed, 9 insertions, 14 deletions
diff --git a/sw/source/uibase/inc/column.hxx b/sw/source/uibase/inc/column.hxx index 19d3f72dd20b..f35470899810 100644 --- a/sw/source/uibase/inc/column.hxx +++ b/sw/source/uibase/inc/column.hxx @@ -164,8 +164,6 @@ class SwColumnPage : public SfxTabPage virtual void ActivatePage(const SfxItemSet& rSet) SAL_OVERRIDE; virtual int DeactivatePage(SfxItemSet *pSet) SAL_OVERRIDE; - SwColumnPage(vcl::Window *pParent, const SfxItemSet &rSet); - void connectPercentField(PercentField &rWrap, const OString &rName); bool isLineNotNone() const; @@ -173,6 +171,7 @@ class SwColumnPage : public SfxTabPage static const sal_uInt16 aPageRg[]; public: + SwColumnPage(vcl::Window *pParent, const SfxItemSet &rSet); virtual ~SwColumnPage(); virtual void dispose() SAL_OVERRIDE; diff --git a/sw/source/uibase/inc/frmpage.hxx b/sw/source/uibase/inc/frmpage.hxx index f87adb2f073c..d1d81e0bdb2b 100644 --- a/sw/source/uibase/inc/frmpage.hxx +++ b/sw/source/uibase/inc/frmpage.hxx @@ -174,8 +174,6 @@ class SwFrmPage: public SfxTabPage void EnableGraficMode( void ); // hides auto check boxes and re-org controls for "Real Size" button - SwFrmPage(vcl::Window *pParent, const SfxItemSet &rSet); - SwWrtShell *getFrmDlgParentShell(); using SfxTabPage::ActivatePage; @@ -184,6 +182,7 @@ class SwFrmPage: public SfxTabPage static const sal_uInt16 aPageRg[]; public: + SwFrmPage(vcl::Window *pParent, const SfxItemSet &rSet); virtual ~SwFrmPage(); virtual void dispose() SAL_OVERRIDE; @@ -226,7 +225,6 @@ class SwGrfExtPage: public SfxTabPage DECL_LINK(BrowseHdl, void *); virtual void ActivatePage(const SfxItemSet& rSet) SAL_OVERRIDE; - SwGrfExtPage(vcl::Window *pParent, const SfxItemSet &rSet); virtual ~SwGrfExtPage(); virtual void dispose() SAL_OVERRIDE; @@ -234,6 +232,7 @@ class SwGrfExtPage: public SfxTabPage using SfxTabPage::DeactivatePage; public: + SwGrfExtPage(vcl::Window *pParent, const SfxItemSet &rSet); static SfxTabPage *Create(vcl::Window *pParent, const SfxItemSet *rSet); @@ -256,12 +255,11 @@ class SwFrmURLPage : public SfxTabPage DECL_LINK(InsertFileHdl, void *); - SwFrmURLPage(vcl::Window *pParent, const SfxItemSet &rSet); - using SfxTabPage::ActivatePage; using SfxTabPage::DeactivatePage; public: + SwFrmURLPage(vcl::Window *pParent, const SfxItemSet &rSet); virtual ~SwFrmURLPage(); virtual void dispose() SAL_OVERRIDE; @@ -307,11 +305,10 @@ class SwFrmAddPage : public SfxTabPage DECL_LINK(EditModifyHdl, void *); DECL_LINK(ChainModifyHdl, ListBox*); - SwFrmAddPage(vcl::Window *pParent, const SfxItemSet &rSet); - static const sal_uInt16 aAddPgRg[]; public: + SwFrmAddPage(vcl::Window *pParent, const SfxItemSet &rSet); virtual ~SwFrmAddPage(); virtual void dispose() SAL_OVERRIDE; diff --git a/sw/source/uibase/inc/pgfnote.hxx b/sw/source/uibase/inc/pgfnote.hxx index 90e850fbce10..9f298eb91dd3 100644 --- a/sw/source/uibase/inc/pgfnote.hxx +++ b/sw/source/uibase/inc/pgfnote.hxx @@ -33,6 +33,7 @@ class SwFootNotePage: public SfxTabPage { static const sal_uInt16 aPageRg[]; public: + SwFootNotePage(vcl::Window *pParent, const SfxItemSet &rSet); static SfxTabPage *Create(vcl::Window *pParent, const SfxItemSet *rSet); static const sal_uInt16* GetRanges() { return aPageRg; } @@ -42,7 +43,6 @@ public: virtual ~SwFootNotePage(); virtual void dispose() SAL_OVERRIDE; private: - SwFootNotePage(vcl::Window *pParent, const SfxItemSet &rSet); VclPtr<RadioButton> m_pMaxHeightPageBtn; VclPtr<RadioButton> m_pMaxHeightBtn; diff --git a/sw/source/uibase/inc/pggrid.hxx b/sw/source/uibase/inc/pggrid.hxx index a70dccfc3315..39a4d80f0061 100644 --- a/sw/source/uibase/inc/pggrid.hxx +++ b/sw/source/uibase/inc/pggrid.hxx @@ -67,8 +67,6 @@ class SwTextGridPage: public SfxTabPage bool m_bHRulerChanged; bool m_bVRulerChanged; - SwTextGridPage(vcl::Window *pParent, const SfxItemSet &rSet); - void UpdatePageSize(const SfxItemSet& rSet); void PutGridItem(SfxItemSet& rSet); void SetLinesOrCharsRanges(FixedText & rField, const sal_Int32 nValue ); @@ -83,6 +81,7 @@ class SwTextGridPage: public SfxTabPage using SfxTabPage::DeactivatePage; public: + SwTextGridPage(vcl::Window *pParent, const SfxItemSet &rSet); virtual ~SwTextGridPage(); virtual void dispose() SAL_OVERRIDE; diff --git a/sw/source/uibase/inc/wrap.hxx b/sw/source/uibase/inc/wrap.hxx index 34002c9ea35b..b01ede1c1696 100644 --- a/sw/source/uibase/inc/wrap.hxx +++ b/sw/source/uibase/inc/wrap.hxx @@ -79,7 +79,6 @@ class SwWrapTabPage: public SfxTabPage bool bDrawMode; bool bContourImage; - SwWrapTabPage(vcl::Window *pParent, const SfxItemSet &rSet); virtual ~SwWrapTabPage(); virtual void dispose() SAL_OVERRIDE; @@ -99,6 +98,7 @@ class SwWrapTabPage: public SfxTabPage static const sal_uInt16 aWrapPageRg[]; public: + SwWrapTabPage(vcl::Window *pParent, const SfxItemSet &rSet); static SfxTabPage *Create(vcl::Window *pParent, const SfxItemSet *rSet); diff --git a/sw/source/uibase/table/tablepg.hxx b/sw/source/uibase/table/tablepg.hxx index b0ca2e5b815d..ef7c9ad90553 100644 --- a/sw/source/uibase/table/tablepg.hxx +++ b/sw/source/uibase/table/tablepg.hxx @@ -180,8 +180,8 @@ class SwTextFlowPage : public SfxTabPage DECL_LINK( SplitRowHdl_Impl, TriStateBox* ); DECL_LINK( HeadLineCBClickHdl, void* p = 0 ); - SwTextFlowPage( vcl::Window* pParent, const SfxItemSet& rSet ); public: + SwTextFlowPage( vcl::Window* pParent, const SfxItemSet& rSet ); virtual ~SwTextFlowPage(); virtual void dispose() SAL_OVERRIDE; static SfxTabPage* Create( vcl::Window* pParent, const SfxItemSet* rAttrSet); |