summaryrefslogtreecommitdiff
path: root/chart2/source/controller/chartapiwrapper/AxisWrapper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/controller/chartapiwrapper/AxisWrapper.cxx')
-rw-r--r--chart2/source/controller/chartapiwrapper/AxisWrapper.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/controller/chartapiwrapper/AxisWrapper.cxx b/chart2/source/controller/chartapiwrapper/AxisWrapper.cxx
index 4643d6ca5883..10da0e77dff4 100644
--- a/chart2/source/controller/chartapiwrapper/AxisWrapper.cxx
+++ b/chart2/source/controller/chartapiwrapper/AxisWrapper.cxx
@@ -63,7 +63,7 @@ using ::com::sun::star::uno::Any;
namespace
{
-static const OUString lcl_aServiceName( "com.sun.star.comp.chart.Axis" );
+static const char lcl_aServiceName[] = "com.sun.star.comp.chart.Axis";
enum
{
@@ -694,7 +694,7 @@ Sequence< OUString > AxisWrapper::getSupportedServiceNames_Static()
}
// implement XServiceInfo methods basing upon getSupportedServiceNames_Static
-APPHELPER_XSERVICEINFO_IMPL( AxisWrapper, lcl_aServiceName );
+APPHELPER_XSERVICEINFO_IMPL( AxisWrapper, OUString(lcl_aServiceName) );
} // namespace wrapper
} // namespace chart