summaryrefslogtreecommitdiff
path: root/chart2/source/inc/DataSource.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-12-08 14:38:16 +0200
committerNoel Grandin <noel@peralex.com>2014-12-09 12:55:37 +0200
commit13b6c147e5a07439fb52044e4dfd4e58af858ec9 (patch)
treed5de1fbbd433173d282b81f4cf682d1bc240691e /chart2/source/inc/DataSource.hxx
parent3380e2acdfbb1e83f718369f5a2c5e4a63bc406d (diff)
inline UNO helper macro APPHELPER_SERVICE_FACTORY_HELPER
Change-Id: Ib416efb59ae166bb8d55dd7f3c84b7e5f72864e8
Diffstat (limited to 'chart2/source/inc/DataSource.hxx')
-rw-r--r--chart2/source/inc/DataSource.hxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/chart2/source/inc/DataSource.hxx b/chart2/source/inc/DataSource.hxx
index 84d2c3781e74..539fedad96a4 100644
--- a/chart2/source/inc/DataSource.hxx
+++ b/chart2/source/inc/DataSource.hxx
@@ -48,7 +48,11 @@ public:
virtual ~DataSource();
/// establish methods for factory instatiation
- APPHELPER_SERVICE_FACTORY_HELPER( DataSource )
+ 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 DataSource( xContext );
+ }
/// declare XServiceInfo methods
APPHELPER_XSERVICEINFO_DECL()