[Libreoffice-commits] core.git: framework/inc

Zeynep Yavuz (via logerrit) logerrit at kemper.freedesktop.org
Thu Aug 12 16:04:04 UTC 2021


 framework/inc/helper/statusindicatorfactory.hxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit d55de29c165e34b8a9ccb7ebf79f76a601103977
Author:     Zeynep Yavuz <zeynepyavuz2001 at hotmail.com>
AuthorDate: Wed Aug 11 00:22:51 2021 +0300
Commit:     Ilmari Lauhakangas <ilmari.lauhakangas at libreoffice.org>
CommitDate: Thu Aug 12 18:03:20 2021 +0200

    tdf#88205: Adapt uses of css::uno::Sequence to use initialize_list ctor
    
    Change-Id: I3c01bb8abeee949bcd1aae861aeb1b1ac516ec58
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120299
    Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas at libreoffice.org>
    Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas at libreoffice.org>

diff --git a/framework/inc/helper/statusindicatorfactory.hxx b/framework/inc/helper/statusindicatorfactory.hxx
index ca8cef12d5fe..3443bd881d25 100644
--- a/framework/inc/helper/statusindicatorfactory.hxx
+++ b/framework/inc/helper/statusindicatorfactory.hxx
@@ -184,8 +184,7 @@ class StatusIndicatorFactory final : public  ::cppu::WeakImplHelper<
 
         virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override
         {
-            css::uno::Sequence< OUString > aSeq { "com.sun.star.task.StatusIndicatorFactory" };
-            return aSeq;
+           return { "com.sun.star.task.StatusIndicatorFactory" };
         }
 
         // XInitialization


More information about the Libreoffice-commits mailing list