From d7aa42dc1bbedb375a2524cbbc87650e55615e87 Mon Sep 17 00:00:00 2001 From: halfhiddencode Date: Mon, 28 Dec 2020 19:22:57 +0530 Subject: tdf#88205 Adapt uses of css::uno::Sequence to use initializer_list ctor Change-Id: I3973c223e0f26b1ab042752d5f212c77ed2acec9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108411 Reviewed-by: Mike Kaganski Tested-by: Jenkins --- vcl/source/graphic/UnoGraphicProvider.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/vcl/source/graphic/UnoGraphicProvider.cxx b/vcl/source/graphic/UnoGraphicProvider.cxx index 636293e9957d..73147b907d8e 100644 --- a/vcl/source/graphic/UnoGraphicProvider.cxx +++ b/vcl/source/graphic/UnoGraphicProvider.cxx @@ -102,8 +102,7 @@ sal_Bool SAL_CALL GraphicProvider::supportsService( const OUString& ServiceName uno::Sequence< OUString > SAL_CALL GraphicProvider::getSupportedServiceNames() { - uno::Sequence aSeq { "com.sun.star.graphic.GraphicProvider" }; - return aSeq; + return { "com.sun.star.graphic.GraphicProvider" }; } uno::Sequence< uno::Type > SAL_CALL GraphicProvider::getTypes() -- cgit