summaryrefslogtreecommitdiff
path: root/chart2/source/model/main/Title.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/model/main/Title.cxx')
-rw-r--r--chart2/source/model/main/Title.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/model/main/Title.cxx b/chart2/source/model/main/Title.cxx
index 35ee2004e13f..d3cac0d24a28 100644
--- a/chart2/source/model/main/Title.cxx
+++ b/chart2/source/model/main/Title.cxx
@@ -46,7 +46,7 @@ using ::osl::MutexGuard;
namespace
{
-static const OUString lcl_aServiceName( "com.sun.star.comp.chart2.Title" );
+static const char lcl_aServiceName[] = "com.sun.star.comp.chart2.Title";
enum
{
@@ -374,7 +374,7 @@ uno::Sequence< OUString > Title::getSupportedServiceNames_Static()
}
// implement XServiceInfo methods basing upon getSupportedServiceNames_Static
-APPHELPER_XSERVICEINFO_IMPL( Title, lcl_aServiceName );
+APPHELPER_XSERVICEINFO_IMPL( Title, OUString(lcl_aServiceName) );
// needed by MSC compiler
using impl::Title_Base;