From 705c48d32eec0aa5180e60ca157daca4b154e4a3 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 3 Nov 2014 14:03:54 +0200 Subject: fdo#38835 strip out OUString globals they are largely unnecessary these days, since our OUString infrastructure gained optimised handling for static char constants. Change-Id: I07f73484f82d0582252cb4324d4107c998432c37 --- chart2/source/controller/chartapiwrapper/TitleWrapper.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chart2/source/controller/chartapiwrapper/TitleWrapper.cxx') diff --git a/chart2/source/controller/chartapiwrapper/TitleWrapper.cxx b/chart2/source/controller/chartapiwrapper/TitleWrapper.cxx index 5197a0955ecd..aaa0c660104e 100644 --- a/chart2/source/controller/chartapiwrapper/TitleWrapper.cxx +++ b/chart2/source/controller/chartapiwrapper/TitleWrapper.cxx @@ -127,7 +127,7 @@ WrappedStackedTextProperty::~WrappedStackedTextProperty() namespace { -static const OUString lcl_aServiceName("com.sun.star.comp.chart.Title"); +static const char lcl_aServiceName[] = "com.sun.star.comp.chart.Title"; enum { @@ -523,7 +523,7 @@ Sequence< OUString > TitleWrapper::getSupportedServiceNames_Static() } // implement XServiceInfo methods basing upon getSupportedServiceNames_Static -APPHELPER_XSERVICEINFO_IMPL( TitleWrapper, lcl_aServiceName ); +APPHELPER_XSERVICEINFO_IMPL( TitleWrapper, OUString(lcl_aServiceName) ); } // namespace wrapper } // namespace chart -- cgit v1.2.3