diff options
Diffstat (limited to 'framework/inc/uifactory/menubarfactory.hxx')
-rw-r--r-- | framework/inc/uifactory/menubarfactory.hxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/framework/inc/uifactory/menubarfactory.hxx b/framework/inc/uifactory/menubarfactory.hxx index f1007cfdbaa4..27401f889182 100644 --- a/framework/inc/uifactory/menubarfactory.hxx +++ b/framework/inc/uifactory/menubarfactory.hxx @@ -57,8 +57,7 @@ typedef ::cppu::WeakImplHelper< 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.UIElementFactory"; + css::uno::Sequence< OUString > aSeq { "com.sun.star.ui.UIElementFactory" }; return aSeq; } |