From c1e157b58f3e5e907f61008387973451b7ba31dc Mon Sep 17 00:00:00 2001 From: nienzu Date: Sat, 23 May 2020 17:32:13 +0800 Subject: tdf#88205 Adapt uses of css::uno::Sequence to use initializer_list ctor Change-Id: Ic61c1d5829b510a71b8d444f29ffed36ee540ea8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94717 Tested-by: Jenkins Reviewed-by: Michael Stahl --- cui/source/dialogs/colorpicker.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'cui') diff --git a/cui/source/dialogs/colorpicker.cxx b/cui/source/dialogs/colorpicker.cxx index 65f03fb3a046..d85213b3ee1c 100644 --- a/cui/source/dialogs/colorpicker.cxx +++ b/cui/source/dialogs/colorpicker.cxx @@ -1252,8 +1252,7 @@ Reference< XInterface > ColorPicker_createInstance( Reference< XComponentContext Sequence< OUString > ColorPicker_getSupportedServiceNames() { - Sequence< OUString > seq { "com.sun.star.ui.dialogs.ColorPicker" }; - return seq; + return { "com.sun.star.ui.dialogs.ColorPicker" }; } static const OUStringLiteral gsColorKey( "Color" ); -- cgit