From c227d963d8ea84445ef9617d30ac24092d33b92f Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 9 Dec 2014 08:30:11 +0200 Subject: inline UNO helper macros Change-Id: Ia401dd2f51108d2f3b08cd3d6d433a12ac17ee74 --- chart2/source/tools/ConfigColorScheme.cxx | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) (limited to 'chart2/source/tools/ConfigColorScheme.cxx') diff --git a/chart2/source/tools/ConfigColorScheme.cxx b/chart2/source/tools/ConfigColorScheme.cxx index b5d227444131..8bb1880c0165 100644 --- a/chart2/source/tools/ConfigColorScheme.cxx +++ b/chart2/source/tools/ConfigColorScheme.cxx @@ -23,6 +23,7 @@ #include #include +#include #include @@ -177,8 +178,28 @@ Sequence< OUString > ConfigColorScheme::getSupportedServiceNames_Static() } // implement XServiceInfo methods basing upon getSupportedServiceNames_Static -APPHELPER_XSERVICEINFO_IMPL( ConfigColorScheme, - OUString("com.sun.star.comp.chart2.ConfigDefaultColorScheme") ) +OUString SAL_CALL ConfigColorScheme::getImplementationName() + throw( css::uno::RuntimeException, std::exception ) +{ + return getImplementationName_Static(); +} + +OUString ConfigColorScheme::getImplementationName_Static() +{ + return OUString("com.sun.star.comp.chart2.ConfigDefaultColorScheme") ; +} + +sal_Bool SAL_CALL ConfigColorScheme::supportsService( const OUString& rServiceName ) + throw( css::uno::RuntimeException, std::exception ) +{ + return cppu::supportsService(this, rServiceName); +} + +css::uno::Sequence< OUString > SAL_CALL ConfigColorScheme::getSupportedServiceNames() + throw( css::uno::RuntimeException, std::exception ) +{ + return getSupportedServiceNames_Static(); +} } // namespace chart -- cgit v1.2.1