summaryrefslogtreecommitdiffstats
path: root/extensions/source/propctrlr/formcontroller.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source/propctrlr/formcontroller.cxx')
-rw-r--r--extensions/source/propctrlr/formcontroller.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/extensions/source/propctrlr/formcontroller.cxx b/extensions/source/propctrlr/formcontroller.cxx
index 9a6006441983..0853c3c44aed 100644
--- a/extensions/source/propctrlr/formcontroller.cxx
+++ b/extensions/source/propctrlr/formcontroller.cxx
@@ -137,8 +137,7 @@ namespace pcr
Sequence< OUString > FormController::getSupportedServiceNames_static( ) throw(RuntimeException)
{
- Sequence< OUString > aSupported(1);
- aSupported[0] = "com.sun.star.form.PropertyBrowserController";
+ Sequence< OUString > aSupported { "com.sun.star.form.PropertyBrowserController" };
return aSupported;
}
@@ -265,8 +264,7 @@ namespace pcr
Sequence< OUString > DialogController::getSupportedServiceNames_static( ) throw(RuntimeException)
{
- Sequence< OUString > aSupported(1);
- aSupported[0] = "com.sun.star.awt.PropertyBrowserController";
+ Sequence< OUString > aSupported { "com.sun.star.awt.PropertyBrowserController" };
return aSupported;
}