diff options
Diffstat (limited to 'svx/source/form/legacyformcontroller.cxx')
-rw-r--r-- | svx/source/form/legacyformcontroller.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
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" }; } } |