From 4073994154fbcb3b3ae7ff396fee916a994265c7 Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Sat, 17 Aug 2019 20:53:12 +0200 Subject: 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 --- svx/source/form/legacyformcontroller.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'svx/source/form/legacyformcontroller.cxx') 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" }; } } -- cgit