summaryrefslogtreecommitdiff
path: root/chart2/source/controller/chartapiwrapper/AreaWrapper.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/AreaWrapper.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/AreaWrapper.cxx')
-rw-r--r--chart2/source/controller/chartapiwrapper/AreaWrapper.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/chart2/source/controller/chartapiwrapper/AreaWrapper.cxx b/chart2/source/controller/chartapiwrapper/AreaWrapper.cxx
index 2a408c54e0d6..26926b35d22f 100644
--- a/chart2/source/controller/chartapiwrapper/AreaWrapper.cxx
+++ b/chart2/source/controller/chartapiwrapper/AreaWrapper.cxx
@@ -38,7 +38,6 @@ using ::com::sun::star::uno::Sequence;
namespace
{
-static const char lcl_aServiceName[] = "com.sun.star.comp.chart.Area";
struct StaticAreaWrapperPropertyArray_Initializer
{
@@ -185,7 +184,7 @@ OUString SAL_CALL AreaWrapper::getImplementationName()
OUString AreaWrapper::getImplementationName_Static()
{
- return OUString(lcl_aServiceName);
+ return OUString("com.sun.star.comp.chart.Area");
}
sal_Bool SAL_CALL AreaWrapper::supportsService( const OUString& rServiceName )