summaryrefslogtreecommitdiff
path: root/accessibility/source/extended/accessibletabbarpage.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'accessibility/source/extended/accessibletabbarpage.cxx')
-rw-r--r--accessibility/source/extended/accessibletabbarpage.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/accessibility/source/extended/accessibletabbarpage.cxx b/accessibility/source/extended/accessibletabbarpage.cxx
index 0c1479f86337..8ce47ce1a61c 100644
--- a/accessibility/source/extended/accessibletabbarpage.cxx
+++ b/accessibility/source/extended/accessibletabbarpage.cxx
@@ -240,8 +240,7 @@ namespace accessibility
Sequence< OUString > AccessibleTabBarPage::getSupportedServiceNames() throw (RuntimeException, std::exception)
{
- Sequence< OUString > aNames(1);
- aNames[0] = "com.sun.star.awt.AccessibleTabBarPage";
+ Sequence< OUString > aNames { "com.sun.star.awt.AccessibleTabBarPage" };
return aNames;
}