summaryrefslogtreecommitdiff
path: root/chart2/source/model/main
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/main
parent3380e2acdfbb1e83f718369f5a2c5e4a63bc406d (diff)
inline UNO helper macro APPHELPER_SERVICE_FACTORY_HELPER
Change-Id: Ib416efb59ae166bb8d55dd7f3c84b7e5f72864e8
Diffstat (limited to 'chart2/source/model/main')
-rw-r--r--chart2/source/model/main/Axis.hxx6
-rw-r--r--chart2/source/model/main/FormattedString.hxx6
-rw-r--r--chart2/source/model/main/GridProperties.hxx6
-rw-r--r--chart2/source/model/main/Legend.hxx6
-rw-r--r--chart2/source/model/main/PageBackground.hxx6
-rw-r--r--chart2/source/model/main/Title.hxx6
6 files changed, 30 insertions, 6 deletions
diff --git a/chart2/source/model/main/Axis.hxx b/chart2/source/model/main/Axis.hxx
index e414789c457a..609ecedafc0f 100644
--- a/chart2/source/model/main/Axis.hxx
+++ b/chart2/source/model/main/Axis.hxx
@@ -60,7 +60,11 @@ public:
virtual ~Axis();
/// establish methods for factory instatiation
- APPHELPER_SERVICE_FACTORY_HELPER( Axis )
+ 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 Axis( xContext );
+ }
/// XServiceInfo declarations
APPHELPER_XSERVICEINFO_DECL()
diff --git a/chart2/source/model/main/FormattedString.hxx b/chart2/source/model/main/FormattedString.hxx
index b62c82c5283b..8fb63c951585 100644
--- a/chart2/source/model/main/FormattedString.hxx
+++ b/chart2/source/model/main/FormattedString.hxx
@@ -57,7 +57,11 @@ public:
/// declare XServiceInfo methods
APPHELPER_XSERVICEINFO_DECL()
/// establish methods for factory instatiation
- APPHELPER_SERVICE_FACTORY_HELPER( FormattedString )
+ 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 FormattedString( xContext );
+ }
/// merge XInterface implementations
DECLARE_XINTERFACE()
diff --git a/chart2/source/model/main/GridProperties.hxx b/chart2/source/model/main/GridProperties.hxx
index 1c75dcd559f1..c8cbf52780aa 100644
--- a/chart2/source/model/main/GridProperties.hxx
+++ b/chart2/source/model/main/GridProperties.hxx
@@ -58,7 +58,11 @@ public:
virtual ~GridProperties();
/// establish methods for factory instatiation
- APPHELPER_SERVICE_FACTORY_HELPER( GridProperties )
+ 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 GridProperties( xContext );
+ }
/// XServiceInfo declarations
APPHELPER_XSERVICEINFO_DECL()
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()
diff --git a/chart2/source/model/main/PageBackground.hxx b/chart2/source/model/main/PageBackground.hxx
index 7098579eca7c..daa1acd8f898 100644
--- a/chart2/source/model/main/PageBackground.hxx
+++ b/chart2/source/model/main/PageBackground.hxx
@@ -54,7 +54,11 @@ public:
virtual ~PageBackground();
/// establish methods for factory instatiation
- APPHELPER_SERVICE_FACTORY_HELPER( PageBackground )
+ 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 PageBackground( xContext );
+ }
/// XServiceInfo declarations
APPHELPER_XSERVICEINFO_DECL()
diff --git a/chart2/source/model/main/Title.hxx b/chart2/source/model/main/Title.hxx
index 31a4b1fdc0d2..aa94f14a6c89 100644
--- a/chart2/source/model/main/Title.hxx
+++ b/chart2/source/model/main/Title.hxx
@@ -55,7 +55,11 @@ public:
virtual ~Title();
/// establish methods for factory instatiation
- APPHELPER_SERVICE_FACTORY_HELPER( Title )
+ 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 Title( xContext );
+ }
/// XServiceInfo declarations
APPHELPER_XSERVICEINFO_DECL()