summaryrefslogtreecommitdiff
path: root/chart2/source/model/inc/ChartTypeManager.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/model/inc/ChartTypeManager.hxx')
-rw-r--r--chart2/source/model/inc/ChartTypeManager.hxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/chart2/source/model/inc/ChartTypeManager.hxx b/chart2/source/model/inc/ChartTypeManager.hxx
index 28a29a203c04..6ea717251c39 100644
--- a/chart2/source/model/inc/ChartTypeManager.hxx
+++ b/chart2/source/model/inc/ChartTypeManager.hxx
@@ -62,7 +62,11 @@ public:
getSupportedServiceNames_Static();
/// establish methods for factory instatiation
- APPHELPER_SERVICE_FACTORY_HELPER( ChartTypeManager )
+ 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 ChartTypeManager( xContext );
+ }
protected:
// ____ XMultiServiceFactory ____