[Libreoffice-commits] core.git: vcl/source

halfhiddencode (via logerrit) logerrit at kemper.freedesktop.org
Mon Jan 4 09:14:05 UTC 2021


 vcl/source/graphic/UnoGraphicProvider.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit d7aa42dc1bbedb375a2524cbbc87650e55615e87
Author:     halfhiddencode <halfhiddencode at gmail.com>
AuthorDate: Mon Dec 28 19:22:57 2020 +0530
Commit:     Mike Kaganski <mike.kaganski at collabora.com>
CommitDate: Mon Jan 4 10:13:27 2021 +0100

    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 <mike.kaganski at collabora.com>
    Tested-by: Jenkins

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<OUString> aSeq { "com.sun.star.graphic.GraphicProvider" };
-    return aSeq;
+    return { "com.sun.star.graphic.GraphicProvider" };
 }
 
 uno::Sequence< uno::Type > SAL_CALL GraphicProvider::getTypes()


More information about the Libreoffice-commits mailing list