diff options
Diffstat (limited to 'chart2/source/model/template/AreaChartType.cxx')
-rw-r--r-- | chart2/source/model/template/AreaChartType.cxx | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/chart2/source/model/template/AreaChartType.cxx b/chart2/source/model/template/AreaChartType.cxx index 840bdba036d7..6d1dd578b0fe 100644 --- a/chart2/source/model/template/AreaChartType.cxx +++ b/chart2/source/model/template/AreaChartType.cxx @@ -44,6 +44,11 @@ uno::Reference< util::XCloneable > SAL_CALL AreaChartType::createClone() return uno::Reference< util::XCloneable >( new AreaChartType( *this )); } +rtl::Reference< ChartType > AreaChartType::cloneChartType() const +{ + return new AreaChartType( *this ); +} + // ____ XChartType ____ OUString SAL_CALL AreaChartType::getChartType() { @@ -52,7 +57,7 @@ OUString SAL_CALL AreaChartType::getChartType() OUString SAL_CALL AreaChartType::getImplementationName() { - return "com.sun.star.comp.chart.AreaChartType"; + return u"com.sun.star.comp.chart.AreaChartType"_ustr; } sal_Bool SAL_CALL AreaChartType::supportsService( const OUString& rServiceName ) @@ -64,7 +69,7 @@ css::uno::Sequence< OUString > SAL_CALL AreaChartType::getSupportedServiceNames( { return { CHART2_SERVICE_NAME_CHARTTYPE_AREA, - "com.sun.star.chart2.ChartType" }; + u"com.sun.star.chart2.ChartType"_ustr }; } } // namespace chart |