From db2d8301613f2eb95b76f3468d92a06dfd49fff4 Mon Sep 17 00:00:00 2001 From: Ulkem Kasapoglu Date: Thu, 12 Jul 2018 15:24:02 +0300 Subject: [PATCH] tdf#88205: Adapt uses of css::uno::Sequence to use initializer_list ctor Change-Id: I09016a06110772379ddf8b15f14446346b850cd6 Reviewed-on: https://gerrit.libreoffice.org/57339 Tested-by: Jenkins Reviewed-by: Muhammet Kara --- extensions/source/propctrlr/pcrunodialogs.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/extensions/source/propctrlr/pcrunodialogs.cxx b/extensions/source/propctrlr/pcrunodialogs.cxx index 2d6cd48e0bb2..9f80ea2b37d8 100644 --- a/extensions/source/propctrlr/pcrunodialogs.cxx +++ b/extensions/source/propctrlr/pcrunodialogs.cxx @@ -100,10 +100,7 @@ namespace pcr css::uno::Sequence OTabOrderDialog::getSupportedServiceNames_static() { - css::uno::Sequence aSupported(2); - aSupported.getArray()[0] = "com.sun.star.form.ui.TabOrderDialog"; - aSupported.getArray()[1] = "com.sun.star.form.TabOrderDialog"; - return aSupported; + return css::uno::Sequence{ "com.sun.star.form.ui.TabOrderDialog", "com.sun.star.form.TabOrderDialog" }; }