summaryrefslogtreecommitdiff
path: root/chart2/source/model/template/BubbleChartType.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/model/template/BubbleChartType.cxx')
-rw-r--r--chart2/source/model/template/BubbleChartType.cxx25
1 files changed, 23 insertions, 2 deletions
diff --git a/chart2/source/model/template/BubbleChartType.cxx b/chart2/source/model/template/BubbleChartType.cxx
index 42ce1be61ab1..a2f754908caf 100644
--- a/chart2/source/model/template/BubbleChartType.cxx
+++ b/chart2/source/model/template/BubbleChartType.cxx
@@ -28,6 +28,7 @@
#include <com/sun/star/beans/PropertyAttribute.hpp>
#include <com/sun/star/chart2/AxisType.hpp>
#include <com/sun/star/chart2/CurveStyle.hpp>
+#include <cppuhelper/supportsservice.hxx>
using namespace ::com::sun::star;
@@ -223,8 +224,28 @@ uno::Sequence< OUString > BubbleChartType::getSupportedServiceNames_Static()
}
// implement XServiceInfo methods basing upon getSupportedServiceNames_Static
-APPHELPER_XSERVICEINFO_IMPL( BubbleChartType,
- OUString("com.sun.star.comp.chart.BubbleChartType") );
+OUString SAL_CALL BubbleChartType::getImplementationName()
+ throw( css::uno::RuntimeException, std::exception )
+{
+ return getImplementationName_Static();
+}
+
+OUString BubbleChartType::getImplementationName_Static()
+{
+ return OUString("com.sun.star.comp.chart.BubbleChartType");
+}
+
+sal_Bool SAL_CALL BubbleChartType::supportsService( const OUString& rServiceName )
+ throw( css::uno::RuntimeException, std::exception )
+{
+ return cppu::supportsService(this, rServiceName);
+}
+
+css::uno::Sequence< OUString > SAL_CALL BubbleChartType::getSupportedServiceNames()
+ throw( css::uno::RuntimeException, std::exception )
+{
+ return getSupportedServiceNames_Static();
+}
} // namespace chart