summaryrefslogtreecommitdiff
path: root/chart2/source/controller/inc/dlg_CreationWizard_UNO.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/controller/inc/dlg_CreationWizard_UNO.hxx')
-rw-r--r--chart2/source/controller/inc/dlg_CreationWizard_UNO.hxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/chart2/source/controller/inc/dlg_CreationWizard_UNO.hxx b/chart2/source/controller/inc/dlg_CreationWizard_UNO.hxx
index 4d4b8c0a3037..fc97659d1c9a 100644
--- a/chart2/source/controller/inc/dlg_CreationWizard_UNO.hxx
+++ b/chart2/source/controller/inc/dlg_CreationWizard_UNO.hxx
@@ -64,7 +64,11 @@ public:
// XServiceInfo
APPHELPER_XSERVICEINFO_DECL()
- APPHELPER_SERVICE_FACTORY_HELPER(CreationWizardUnoDlg)
+ static css::uno::Reference< css::uno::XInterface > SAL_CALL create( css::uno::Reference< css::uno::XComponentContext > const & xContext)
+ throw(css::uno::Exception)
+ {
+ return (::cppu::OWeakObject *)new CreationWizardUnoDlg( xContext );
+ }
// XExecutableDialog
virtual void SAL_CALL setTitle( const OUString& aTitle ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;