[Libreoffice-commits] core.git: extensions/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Sat Jul 14 13:31:33 UTC 2018
extensions/source/propctrlr/pcrunodialogs.cxx | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
New commits:
commit db2d8301613f2eb95b76f3468d92a06dfd49fff4
Author: Ulkem Kasapoglu <ulkem.kasapoglu at pardus.org.tr>
AuthorDate: Thu Jul 12 15:24:02 2018 +0300
Commit: Muhammet Kara <muhammet.kara at pardus.org.tr>
CommitDate: Sat Jul 14 15:31:13 2018 +0200
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 at pardus.org.tr>
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<OUString> OTabOrderDialog::getSupportedServiceNames_static()
{
- css::uno::Sequence<OUString> 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<OUString>{ "com.sun.star.form.ui.TabOrderDialog", "com.sun.star.form.TabOrderDialog" };
}
More information about the Libreoffice-commits
mailing list