diff options
Diffstat (limited to 'accessibility/source/extended/accessibleiconchoicectrl.cxx')
-rw-r--r-- | accessibility/source/extended/accessibleiconchoicectrl.cxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/accessibility/source/extended/accessibleiconchoicectrl.cxx b/accessibility/source/extended/accessibleiconchoicectrl.cxx index aa9d9abc5754..7b4708c0ad57 100644 --- a/accessibility/source/extended/accessibleiconchoicectrl.cxx +++ b/accessibility/source/extended/accessibleiconchoicectrl.cxx @@ -146,11 +146,9 @@ namespace accessibility Sequence< OUString > AccessibleIconChoiceCtrl::getSupportedServiceNames_Static() throw (RuntimeException) { - Sequence< OUString > aSupported(3); - aSupported[0] = "com.sun.star.accessibility.AccessibleContext"; - aSupported[1] = "com.sun.star.accessibility.AccessibleComponent"; - aSupported[2] = "com.sun.star.awt.AccessibleIconChoiceControl"; - return aSupported; + return {"com.sun.star.accessibility.AccessibleContext", + "com.sun.star.accessibility.AccessibleComponent", + "com.sun.star.awt.AccessibleIconChoiceControl"}; } OUString AccessibleIconChoiceCtrl::getImplementationName_Static() throw (RuntimeException) |