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" }; }