diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2019-08-17 20:53:12 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2019-08-17 22:16:51 +0200 |
commit | 4073994154fbcb3b3ae7ff396fee916a994265c7 (patch) | |
tree | 82e81d9a9a345eab3b9d67e3464639451f833004 /svx/source/form/legacyformcontroller.cxx | |
parent | c5be21da5072a78525ee07bb16dfcf391b8dbf32 (diff) |
tdf#88205 Adapt uses of css::uno::Sequence to use initializer_list ctor
in svx
Change-Id: I70cba5dbfed9b2bbfe82d89c9dc6a5875c953bd3
Reviewed-on: https://gerrit.libreoffice.org/77649
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'svx/source/form/legacyformcontroller.cxx')
-rw-r--r-- | svx/source/form/legacyformcontroller.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/svx/source/form/legacyformcontroller.cxx b/svx/source/form/legacyformcontroller.cxx index a310423da8d0..9e14d3758cd1 100644 --- a/svx/source/form/legacyformcontroller.cxx +++ b/svx/source/form/legacyformcontroller.cxx @@ -185,10 +185,7 @@ namespace svxform Sequence< OUString > SAL_CALL LegacyFormController::getSupportedServiceNames( ) { - Sequence< OUString > aServices(2); - aServices.getArray()[0] = "com.sun.star.form.FormController"; - aServices.getArray()[1] = "com.sun.star.awt.control.TabController"; - return aServices; + return { "com.sun.star.form.FormController", "com.sun.star.awt.control.TabController" }; } } |