diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2019-08-18 13:38:16 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2019-08-18 14:32:56 +0200 |
commit | 51a30d7daee8779ef51d8db58559e4fe15665d1b (patch) | |
tree | 8efb87b20e93652410be2dec96c00ce4f818f0ee /xmlhelp/source/treeview | |
parent | ed128e17e7f090af06dfe5776a238c40f3a68fc9 (diff) |
tdf#88205 Adapt uses of css::uno::Sequence to use initializer_list ctor
in uui, xmlhelp
Change-Id: I588ed4154e6b21e178f2466c58abc08562eddf80
Reviewed-on: https://gerrit.libreoffice.org/77663
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'xmlhelp/source/treeview')
-rw-r--r-- | xmlhelp/source/treeview/tvfactory.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/xmlhelp/source/treeview/tvfactory.cxx b/xmlhelp/source/treeview/tvfactory.cxx index 73adce6ae7b4..e4fc02c58e41 100644 --- a/xmlhelp/source/treeview/tvfactory.cxx +++ b/xmlhelp/source/treeview/tvfactory.cxx @@ -131,10 +131,7 @@ TVFactory::getImplementationName_static() Sequence< OUString > TVFactory::getSupportedServiceNames_static() { - Sequence< OUString > seq( 2 ); - seq[0] = "com.sun.star.help.TreeView"; - seq[1] = "com.sun.star.ucb.HiearchyDataSource"; - return seq; + return { "com.sun.star.help.TreeView", "com.sun.star.ucb.HiearchyDataSource" }; } Reference< XSingleServiceFactory > |