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 <muhammet.kara@pardus.org.tr>
This commit is contained in:
Ulkem Kasapoglu
2018-07-12 15:24:02 +03:00
committed by Muhammet Kara
parent 860a9daf2b
commit db2d830161

View File

@@ -100,10 +100,7 @@ namespace pcr
css::uno::Sequence<OUString> OTabOrderDialog::getSupportedServiceNames_static() css::uno::Sequence<OUString> OTabOrderDialog::getSupportedServiceNames_static()
{ {
css::uno::Sequence<OUString> aSupported(2); return css::uno::Sequence<OUString>{ "com.sun.star.form.ui.TabOrderDialog", "com.sun.star.form.TabOrderDialog" };
aSupported.getArray()[0] = "com.sun.star.form.ui.TabOrderDialog";
aSupported.getArray()[1] = "com.sun.star.form.TabOrderDialog";
return aSupported;
} }