summaryrefslogtreecommitdiff
path: root/chart2/source/model/main/PageBackground.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/model/main/PageBackground.cxx')
-rw-r--r--chart2/source/model/main/PageBackground.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/model/main/PageBackground.cxx b/chart2/source/model/main/PageBackground.cxx
index 3b72c388d67a..d9eea37794d3 100644
--- a/chart2/source/model/main/PageBackground.cxx
+++ b/chart2/source/model/main/PageBackground.cxx
@@ -40,7 +40,7 @@ using ::osl::MutexGuard;
namespace
{
-static const OUString lcl_aServiceName( "com.sun.star.comp.chart2.PageBackground" );
+static const char lcl_aServiceName[] = "com.sun.star.comp.chart2.PageBackground";
struct StaticPageBackgroundDefaults_Initializer
{
@@ -223,7 +223,7 @@ uno::Sequence< OUString > PageBackground::getSupportedServiceNames_Static()
}
// implement XServiceInfo methods basing upon getSupportedServiceNames_Static
-APPHELPER_XSERVICEINFO_IMPL( PageBackground, lcl_aServiceName );
+APPHELPER_XSERVICEINFO_IMPL( PageBackground, OUString(lcl_aServiceName) );
using impl::PageBackground_Base;