summaryrefslogtreecommitdiff
path: root/scripting/source/provider/MasterScriptProviderFactory.cxx
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2019-08-17 21:02:20 +0200
committerJulien Nabet <serval2412@yahoo.fr>2019-08-17 22:16:38 +0200
commitc5be21da5072a78525ee07bb16dfcf391b8dbf32 (patch)
tree1fdeeee0c1075cce00137f92d161ce6c472dd1ab /scripting/source/provider/MasterScriptProviderFactory.cxx
parentcc70a9dec7730661aacd5fe7ed62f0a29ebf1084 (diff)
tdf#88205 Adapt uses of css::uno::Sequence to use initializer_list ctor
in scaddins, scripting Change-Id: I92e6380f535aec12c1f1c5c51d8b544c8a7d9611 Reviewed-on: https://gerrit.libreoffice.org/77650 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'scripting/source/provider/MasterScriptProviderFactory.cxx')
-rw-r--r--scripting/source/provider/MasterScriptProviderFactory.cxx8
1 files changed, 2 insertions, 6 deletions
diff --git a/scripting/source/provider/MasterScriptProviderFactory.cxx b/scripting/source/provider/MasterScriptProviderFactory.cxx
index 3a6d74ac9598..fd93894b6e94 100644
--- a/scripting/source/provider/MasterScriptProviderFactory.cxx
+++ b/scripting/source/provider/MasterScriptProviderFactory.cxx
@@ -64,16 +64,12 @@ MasterScriptProviderFactory::getActiveMSPList() const
Sequence< OUString > mspf_getSupportedServiceNames( )
{
- OUString str_name(
- "com.sun.star.script.provider.MasterScriptProviderFactory");
-
- return Sequence< OUString >( &str_name, 1 );
+ return { "com.sun.star.script.provider.MasterScriptProviderFactory" };
}
OUString mspf_getImplementationName( )
{
- return
- "com.sun.star.script.provider.MasterScriptProviderFactory";
+ return "com.sun.star.script.provider.MasterScriptProviderFactory";
}
Reference< XInterface >