summaryrefslogtreecommitdiff
path: root/scripting/source/provider/URIHelper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'scripting/source/provider/URIHelper.cxx')
-rw-r--r--scripting/source/provider/URIHelper.cxx9
1 files changed, 1 insertions, 8 deletions
diff --git a/scripting/source/provider/URIHelper.cxx b/scripting/source/provider/URIHelper.cxx
index 2a09e8dbe5ae..172f0ac0ae66 100644
--- a/scripting/source/provider/URIHelper.cxx
+++ b/scripting/source/provider/URIHelper.cxx
@@ -252,14 +252,7 @@ ScriptingFrameworkURIHelper::supportsService( const OUString& serviceName )
uno::Sequence< OUString > SAL_CALL
ScriptingFrameworkURIHelper::getSupportedServiceNames()
{
- OUString serviceNameList[] = {
- OUString(
- "com.sun.star.script.provider.ScriptURIHelper" ) };
-
- uno::Sequence< OUString > serviceNames = uno::Sequence <
- OUString > ( serviceNameList, 1 );
-
- return serviceNames;
+ return { "com.sun.star.script.provider.ScriptURIHelper" };
}
}