summaryrefslogtreecommitdiff
path: root/chart2/source/controller/chartapiwrapper/TitleWrapper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/controller/chartapiwrapper/TitleWrapper.cxx')
-rw-r--r--chart2/source/controller/chartapiwrapper/TitleWrapper.cxx24
1 files changed, 23 insertions, 1 deletions
diff --git a/chart2/source/controller/chartapiwrapper/TitleWrapper.cxx b/chart2/source/controller/chartapiwrapper/TitleWrapper.cxx
index aaa0c660104e..d6d2b43e55a6 100644
--- a/chart2/source/controller/chartapiwrapper/TitleWrapper.cxx
+++ b/chart2/source/controller/chartapiwrapper/TitleWrapper.cxx
@@ -23,6 +23,7 @@
#include "ControllerLockGuard.hxx"
#include <comphelper/InlineContainer.hxx>
+#include <cppuhelper/supportsservice.hxx>
#include <com/sun/star/beans/PropertyAttribute.hpp>
#include <com/sun/star/chart2/RelativePosition.hpp>
@@ -523,7 +524,28 @@ Sequence< OUString > TitleWrapper::getSupportedServiceNames_Static()
}
// implement XServiceInfo methods basing upon getSupportedServiceNames_Static
-APPHELPER_XSERVICEINFO_IMPL( TitleWrapper, OUString(lcl_aServiceName) );
+OUString SAL_CALL TitleWrapper::getImplementationName()
+ throw( css::uno::RuntimeException, std::exception )
+{
+ return getImplementationName_Static();
+}
+
+OUString TitleWrapper::getImplementationName_Static()
+{
+ return OUString(lcl_aServiceName);
+}
+
+sal_Bool SAL_CALL TitleWrapper::supportsService( const OUString& rServiceName )
+ throw( css::uno::RuntimeException, std::exception )
+{
+ return cppu::supportsService(this, rServiceName);
+}
+
+css::uno::Sequence< OUString > SAL_CALL TitleWrapper::getSupportedServiceNames()
+ throw( css::uno::RuntimeException, std::exception )
+{
+ return getSupportedServiceNames_Static();
+}
} // namespace wrapper
} // namespace chart