diff options
Diffstat (limited to 'chart2/source/model/main/Legend.hxx')
-rw-r--r-- | chart2/source/model/main/Legend.hxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/chart2/source/model/main/Legend.hxx b/chart2/source/model/main/Legend.hxx index 19d4a218d921..76e7e41d3f09 100644 --- a/chart2/source/model/main/Legend.hxx +++ b/chart2/source/model/main/Legend.hxx @@ -57,7 +57,11 @@ public: virtual ~Legend(); /// establish methods for factory instatiation - APPHELPER_SERVICE_FACTORY_HELPER( Legend ) + 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 Legend( xContext ); + } /// XServiceInfo declarations APPHELPER_XSERVICEINFO_DECL() |