summaryrefslogtreecommitdiff
path: root/framework/source/uifactory/toolbarfactory.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'framework/source/uifactory/toolbarfactory.cxx')
-rw-r--r--framework/source/uifactory/toolbarfactory.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/framework/source/uifactory/toolbarfactory.cxx b/framework/source/uifactory/toolbarfactory.cxx
index 8f4bd096eae0..ceccc552b80c 100644
--- a/framework/source/uifactory/toolbarfactory.cxx
+++ b/framework/source/uifactory/toolbarfactory.cxx
@@ -55,8 +55,7 @@ public:
virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames()
throw (css::uno::RuntimeException, std::exception) override
{
- css::uno::Sequence< OUString > aSeq(1);
- aSeq[0] = "com.sun.star.ui.ToolBarFactory";
+ css::uno::Sequence< OUString > aSeq { "com.sun.star.ui.ToolBarFactory" };
return aSeq;
}