diff options
Diffstat (limited to 'framework/source/uielement/objectmenucontroller.cxx')
-rw-r--r-- | framework/source/uielement/objectmenucontroller.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/framework/source/uielement/objectmenucontroller.cxx b/framework/source/uielement/objectmenucontroller.cxx index ddc90894d3af..c2c8960f5c8b 100644 --- a/framework/source/uielement/objectmenucontroller.cxx +++ b/framework/source/uielement/objectmenucontroller.cxx @@ -75,8 +75,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.frame.PopupMenuController"; + css::uno::Sequence< OUString > aSeq { "com.sun.star.frame.PopupMenuController" }; return aSeq; } |