summaryrefslogtreecommitdiff
path: root/accessibility/source/extended/accessibleiconchoicectrlentry.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'accessibility/source/extended/accessibleiconchoicectrlentry.cxx')
-rw-r--r--accessibility/source/extended/accessibleiconchoicectrlentry.cxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/accessibility/source/extended/accessibleiconchoicectrlentry.cxx b/accessibility/source/extended/accessibleiconchoicectrlentry.cxx
index 119e603b4c7b..d60fe598557d 100644
--- a/accessibility/source/extended/accessibleiconchoicectrlentry.cxx
+++ b/accessibility/source/extended/accessibleiconchoicectrlentry.cxx
@@ -249,11 +249,9 @@ throw(RuntimeException, std::exception)
Sequence< OUString > AccessibleIconChoiceCtrlEntry::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.AccessibleIconChoiceControlEntry";
- return aSupported;
+ return {"com.sun.star.accessibility.AccessibleContext",
+ "com.sun.star.accessibility.AccessibleComponent",
+ "com.sun.star.awt.AccessibleIconChoiceControlEntry"};
}
OUString AccessibleIconChoiceCtrlEntry::getImplementationName_Static() throw( RuntimeException )