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