summaryrefslogtreecommitdiff
path: root/sw/source/uibase/ribbar
diff options
context:
space:
mode:
authorMesut Çifci <mesutcifci97@gmail.com>2020-01-15 11:33:29 +0300
committerStephan Bergmann <sbergman@redhat.com>2020-01-15 14:54:39 +0100
commitb8f02637131fcfa499a6397914fdf4687c88053d (patch)
tree24e88369d50dbb2ed519d99f6e06dc8c104d455b /sw/source/uibase/ribbar
parent15abfe9ae976a0d940725cdd570facc372981393 (diff)
tdf#88205 Adapt uses of css::uno::Sequence to use initializer_list ctor
Change-Id: Ib58c66590c60175d7984af55d23b7c55a6a2383e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86828 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sw/source/uibase/ribbar')
-rw-r--r--sw/source/uibase/ribbar/workctrl.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/uibase/ribbar/workctrl.cxx b/sw/source/uibase/ribbar/workctrl.cxx
index 65f1f48acf0e..a7f76cf9aff0 100644
--- a/sw/source/uibase/ribbar/workctrl.cxx
+++ b/sw/source/uibase/ribbar/workctrl.cxx
@@ -871,8 +871,7 @@ OUString SAL_CALL NavElementToolBoxControl::getImplementationName()
uno::Sequence< OUString > SAL_CALL NavElementToolBoxControl::getSupportedServiceNames()
{
- uno::Sequence<OUString> aSNS { "com.sun.star.frame.ToolbarController" };
- return aSNS;
+ return { "com.sun.star.frame.ToolbarController" };
}
// XComponent