summaryrefslogtreecommitdiff
path: root/chart2/source/tools/DataSource.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/tools/DataSource.cxx')
-rw-r--r--chart2/source/tools/DataSource.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/tools/DataSource.cxx b/chart2/source/tools/DataSource.cxx
index f81571142c31..24f8b5140be1 100644
--- a/chart2/source/tools/DataSource.cxx
+++ b/chart2/source/tools/DataSource.cxx
@@ -30,7 +30,7 @@ using namespace ::com::sun::star;
namespace
{
-static const OUString lcl_aServiceName( "com.sun.star.comp.chart.DataSource" );
+static const char lcl_aServiceName[] = "com.sun.star.comp.chart.DataSource";
} // anonymous namespace
namespace chart
@@ -69,7 +69,7 @@ Sequence< OUString > DataSource::getSupportedServiceNames_Static()
return aServices;
}
-APPHELPER_XSERVICEINFO_IMPL( DataSource, lcl_aServiceName );
+APPHELPER_XSERVICEINFO_IMPL( DataSource, OUString(lcl_aServiceName) );
} // namespace chart