diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-04-20 14:00:04 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-04-20 15:13:23 +0100 |
commit | f12488405cdfd8555078d15807aafc5ffd1b037b (patch) | |
tree | 487b1ae6138d7f2c320a9846289ee7c422d5b8a3 /chart2 | |
parent | b8bc9023a3190cd93150fb14c2e37ad4deb8b435 (diff) |
dbaccess: convert new to ::Create.
Also convert svtools' WizardShell::createPage.
Change-Id: I09bd40ef4748aa2de7b49eeefc95be06b545ea05
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/controller/dialogs/dlg_CreationWizard.cxx | 4 | ||||
-rw-r--r-- | chart2/source/controller/inc/dlg_CreationWizard.hxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/chart2/source/controller/dialogs/dlg_CreationWizard.cxx b/chart2/source/controller/dialogs/dlg_CreationWizard.cxx index 45841127463e..17da73233a6a 100644 --- a/chart2/source/controller/dialogs/dlg_CreationWizard.cxx +++ b/chart2/source/controller/dialogs/dlg_CreationWizard.cxx @@ -106,9 +106,9 @@ CreationWizard::CreationWizard( vcl::Window* pParent, const uno::Reference< fram ActivatePage(); } -svt::OWizardPage* CreationWizard::createPage(WizardState nState) +VclPtr<TabPage> CreationWizard::createPage(WizardState nState) { - svt::OWizardPage* pRet = 0; + VclPtr<svt::OWizardPage> pRet; if(m_nOnePageOnlyIndex!=-1 && m_nOnePageOnlyIndex!=nState) return pRet; bool bDoLiveUpdate = m_nOnePageOnlyIndex == -1; diff --git a/chart2/source/controller/inc/dlg_CreationWizard.hxx b/chart2/source/controller/inc/dlg_CreationWizard.hxx index 33ba961bc895..152fc8485751 100644 --- a/chart2/source/controller/inc/dlg_CreationWizard.hxx +++ b/chart2/source/controller/inc/dlg_CreationWizard.hxx @@ -65,7 +65,7 @@ private: //no default constructor CreationWizard(); - virtual svt::OWizardPage* createPage(WizardState nState) SAL_OVERRIDE; + virtual VclPtr<TabPage> createPage(WizardState nState) SAL_OVERRIDE; ::com::sun::star::uno::Reference< ::com::sun::star::chart2::XChartDocument > m_xChartModel; |