diff options
Diffstat (limited to 'framework/inc/uielement/uicommanddescription.hxx')
-rw-r--r-- | framework/inc/uielement/uicommanddescription.hxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/framework/inc/uielement/uicommanddescription.hxx b/framework/inc/uielement/uicommanddescription.hxx index 4179474119c6..d57ae4a255c3 100644 --- a/framework/inc/uielement/uicommanddescription.hxx +++ b/framework/inc/uielement/uicommanddescription.hxx @@ -59,8 +59,7 @@ class UICommandDescription : private cppu::BaseMutex, 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.UICommandDescription"; + css::uno::Sequence< OUString > aSeq { "com.sun.star.frame.UICommandDescription" }; return aSeq; } |