summaryrefslogtreecommitdiff
path: root/scripting/source/provider/BrowseNodeFactoryImpl.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/BrowseNodeFactoryImpl.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/BrowseNodeFactoryImpl.cxx')
-rw-r--r--scripting/source/provider/BrowseNodeFactoryImpl.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/scripting/source/provider/BrowseNodeFactoryImpl.cxx b/scripting/source/provider/BrowseNodeFactoryImpl.cxx
index e89452c3c971..92ce1be6c273 100644
--- a/scripting/source/provider/BrowseNodeFactoryImpl.cxx
+++ b/scripting/source/provider/BrowseNodeFactoryImpl.cxx
@@ -623,10 +623,7 @@ BrowseNodeFactoryImpl::getOrganizerHierarchy()
Sequence< OUString >
bnf_getSupportedServiceNames( )
{
- OUString str_name(
- "com.sun.star.script.browse.BrowseNodeFactory");
-
- return Sequence< OUString >( &str_name, 1 );
+ return { "com.sun.star.script.browse.BrowseNodeFactory" };
}
OUString