diff options
Diffstat (limited to 'framework/source/uielement/recentfilesmenucontroller.cxx')
-rw-r--r-- | framework/source/uielement/recentfilesmenucontroller.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/framework/source/uielement/recentfilesmenucontroller.cxx b/framework/source/uielement/recentfilesmenucontroller.cxx index a86995d903ff..9c3921f8e85e 100644 --- a/framework/source/uielement/recentfilesmenucontroller.cxx +++ b/framework/source/uielement/recentfilesmenucontroller.cxx @@ -79,8 +79,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; } |