summaryrefslogtreecommitdiff
path: root/chart2/source/model/template/GL3DBarChartType.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/model/template/GL3DBarChartType.cxx')
-rw-r--r--chart2/source/model/template/GL3DBarChartType.cxx25
1 files changed, 23 insertions, 2 deletions
diff --git a/chart2/source/model/template/GL3DBarChartType.cxx b/chart2/source/model/template/GL3DBarChartType.cxx
index e99fe390c871..f22e29d59074 100644
--- a/chart2/source/model/template/GL3DBarChartType.cxx
+++ b/chart2/source/model/template/GL3DBarChartType.cxx
@@ -11,6 +11,7 @@
#include <servicenames_charttypes.hxx>
#include <PropertyHelper.hxx>
#include <unonames.hxx>
+#include <cppuhelper/supportsservice.hxx>
#include <com/sun/star/beans/Property.hpp>
#include <com/sun/star/beans/PropertyAttribute.hpp>
@@ -100,8 +101,28 @@ GL3DBarChartType::GL3DBarChartType( const GL3DBarChartType& rOther ) :
GL3DBarChartType::~GL3DBarChartType() {}
-APPHELPER_XSERVICEINFO_IMPL(
- GL3DBarChartType, OUString("com.sun.star.comp.chart.GL3DBarChartType") );
+OUString SAL_CALL GL3DBarChartType::getImplementationName()
+ throw( css::uno::RuntimeException, std::exception )
+{
+ return getImplementationName_Static();
+}
+
+OUString GL3DBarChartType::getImplementationName_Static()
+{
+ return OUString("com.sun.star.comp.chart.GL3DBarChartType");
+}
+
+sal_Bool SAL_CALL GL3DBarChartType::supportsService( const OUString& rServiceName )
+ throw( css::uno::RuntimeException, std::exception )
+{
+ return cppu::supportsService(this, rServiceName);
+}
+
+css::uno::Sequence< OUString > SAL_CALL GL3DBarChartType::getSupportedServiceNames()
+ throw( css::uno::RuntimeException, std::exception )
+{
+ return getSupportedServiceNames_Static();
+}
uno::Sequence<OUString> GL3DBarChartType::getSupportedServiceNames_Static()
{