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