summaryrefslogtreecommitdiff
path: root/chart2/source/model/main/Title.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/model/main/Title.cxx')
-rw-r--r--chart2/source/model/main/Title.cxx24
1 files changed, 23 insertions, 1 deletions
diff --git a/chart2/source/model/main/Title.cxx b/chart2/source/model/main/Title.cxx
index d3cac0d24a28..2a9b1caec081 100644
--- a/chart2/source/model/main/Title.cxx
+++ b/chart2/source/model/main/Title.cxx
@@ -33,6 +33,7 @@
#include <com/sun/star/awt/Size.hpp>
#include <rtl/uuid.h>
#include <cppuhelper/queryinterface.hxx>
+#include <cppuhelper/supportsservice.hxx>
#include <vector>
#include <algorithm>
@@ -374,7 +375,28 @@ uno::Sequence< OUString > Title::getSupportedServiceNames_Static()
}
// implement XServiceInfo methods basing upon getSupportedServiceNames_Static
-APPHELPER_XSERVICEINFO_IMPL( Title, OUString(lcl_aServiceName) );
+OUString SAL_CALL Title::getImplementationName()
+ throw( css::uno::RuntimeException, std::exception )
+{
+ return getImplementationName_Static();
+}
+
+OUString Title::getImplementationName_Static()
+{
+ return OUString(lcl_aServiceName);
+}
+
+sal_Bool SAL_CALL Title::supportsService( const OUString& rServiceName )
+ throw( css::uno::RuntimeException, std::exception )
+{
+ return cppu::supportsService(this, rServiceName);
+}
+
+css::uno::Sequence< OUString > SAL_CALL Title::getSupportedServiceNames()
+ throw( css::uno::RuntimeException, std::exception )
+{
+ return getSupportedServiceNames_Static();
+}
// needed by MSC compiler
using impl::Title_Base;