summaryrefslogtreecommitdiff
path: root/accessibility/source/standard/vclxaccessiblemenuitem.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'accessibility/source/standard/vclxaccessiblemenuitem.cxx')
-rw-r--r--accessibility/source/standard/vclxaccessiblemenuitem.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/accessibility/source/standard/vclxaccessiblemenuitem.cxx b/accessibility/source/standard/vclxaccessiblemenuitem.cxx
index 6a257faff6e0..a13a9f20b2e3 100644
--- a/accessibility/source/standard/vclxaccessiblemenuitem.cxx
+++ b/accessibility/source/standard/vclxaccessiblemenuitem.cxx
@@ -171,8 +171,7 @@ OUString VCLXAccessibleMenuItem::getImplementationName() throw (RuntimeException
Sequence< OUString > VCLXAccessibleMenuItem::getSupportedServiceNames() throw (RuntimeException, std::exception)
{
- Sequence< OUString > aNames(1);
- aNames[0] = "com.sun.star.awt.AccessibleMenuItem";
+ Sequence< OUString > aNames { "com.sun.star.awt.AccessibleMenuItem" };
return aNames;
}