summaryrefslogtreecommitdiff
path: root/chart2/source/model/inc/XMLFilter.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/model/inc/XMLFilter.hxx
parent3380e2acdfbb1e83f718369f5a2c5e4a63bc406d (diff)
inline UNO helper macro APPHELPER_SERVICE_FACTORY_HELPER
Change-Id: Ib416efb59ae166bb8d55dd7f3c84b7e5f72864e8
Diffstat (limited to 'chart2/source/model/inc/XMLFilter.hxx')
-rw-r--r--chart2/source/model/inc/XMLFilter.hxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/chart2/source/model/inc/XMLFilter.hxx b/chart2/source/model/inc/XMLFilter.hxx
index 9004264eab87..a091a0a086bb 100644
--- a/chart2/source/model/inc/XMLFilter.hxx
+++ b/chart2/source/model/inc/XMLFilter.hxx
@@ -64,7 +64,11 @@ public:
virtual ~XMLFilter();
/// establish methods for factory instatiation
- APPHELPER_SERVICE_FACTORY_HELPER( XMLFilter )
+ 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 XMLFilter( xContext );
+ }
/// XServiceInfo declarations
APPHELPER_XSERVICEINFO_DECL()