summaryrefslogtreecommitdiff
path: root/chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-11-07 10:48:36 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-11-07 11:54:20 +0000
commitb7914a9a566413eac55c7e115da1cb3552cd58df (patch)
tree0b1fcdddf5552ebcfed8966cc8e01567c4028442 /chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx
parent65aafb507126760a293e16efe17fe7ac5ab186b5 (diff)
loplugin:oncevar in chart2
Change-Id: Id9308f9265c2453075971c8105b4d161bd145da7 Reviewed-on: https://gerrit.libreoffice.org/30654 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx')
-rw-r--r--chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx b/chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx
index 7e3c1c2813ce..78195fc5ce1d 100644
--- a/chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx
+++ b/chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx
@@ -79,7 +79,6 @@ using ::osl::MutexGuard;
namespace
{
-static const char lcl_aServiceName[] = "com.sun.star.comp.chart.Diagram";
enum
{
@@ -2091,7 +2090,7 @@ OUString SAL_CALL DiagramWrapper::getImplementationName()
OUString DiagramWrapper::getImplementationName_Static()
{
- return OUString(lcl_aServiceName);
+ return OUString("com.sun.star.comp.chart.Diagram");
}
sal_Bool SAL_CALL DiagramWrapper::supportsService( const OUString& rServiceName )