summaryrefslogtreecommitdiff
path: root/chart2/source/model/template/AreaChartType.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-07-30 17:58:03 +0200
committerStephan Bergmann <sbergman@redhat.com>2019-07-31 13:00:34 +0200
commit2d447ddc7a46cb6eb475238df1e0b9d10f1e9c06 (patch)
treeb61368365af005d9570ccde39d49620997612e6b /chart2/source/model/template/AreaChartType.cxx
parent8b6c64513d6e3e2161f06c38fc093e47216dabb1 (diff)
Improved loplugin:stringconstant (now that GCC 7 supports it): chart2
Change-Id: I9fb8e2853b5ddb1f9fe589f4e47828025ea52915 Reviewed-on: https://gerrit.libreoffice.org/76692 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'chart2/source/model/template/AreaChartType.cxx')
-rw-r--r--chart2/source/model/template/AreaChartType.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/model/template/AreaChartType.cxx b/chart2/source/model/template/AreaChartType.cxx
index fb3131f052dc..947c885cee84 100644
--- a/chart2/source/model/template/AreaChartType.cxx
+++ b/chart2/source/model/template/AreaChartType.cxx
@@ -47,12 +47,12 @@ uno::Reference< util::XCloneable > SAL_CALL AreaChartType::createClone()
// ____ XChartType ____
OUString SAL_CALL AreaChartType::getChartType()
{
- return OUString(CHART2_SERVICE_NAME_CHARTTYPE_AREA);
+ return CHART2_SERVICE_NAME_CHARTTYPE_AREA;
}
OUString SAL_CALL AreaChartType::getImplementationName()
{
- return OUString("com.sun.star.comp.chart.AreaChartType");
+ return "com.sun.star.comp.chart.AreaChartType";
}
sal_Bool SAL_CALL AreaChartType::supportsService( const OUString& rServiceName )