diff options
Diffstat (limited to 'accessibility/source/standard/vclxaccessiblemenubar.cxx')
-rw-r--r-- | accessibility/source/standard/vclxaccessiblemenubar.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/accessibility/source/standard/vclxaccessiblemenubar.cxx b/accessibility/source/standard/vclxaccessiblemenubar.cxx index 5f64d999fb05..10340f79ad86 100644 --- a/accessibility/source/standard/vclxaccessiblemenubar.cxx +++ b/accessibility/source/standard/vclxaccessiblemenubar.cxx @@ -138,8 +138,7 @@ OUString VCLXAccessibleMenuBar::getImplementationName() throw (RuntimeException, Sequence< OUString > VCLXAccessibleMenuBar::getSupportedServiceNames() throw (RuntimeException, std::exception) { - Sequence< OUString > aNames(1); - aNames[0] = "com.sun.star.awt.AccessibleMenuBar"; + Sequence< OUString > aNames { "com.sun.star.awt.AccessibleMenuBar" }; return aNames; } |