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

Hakan Bakacak (via logerrit) logerrit at kemper.freedesktop.org
Tue Jan 28 20:23:35 UTC 2020


 toolkit/source/controls/tabpagemodel.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 7e19348d7e54cf22864f6e14022e28091a576387
Author:     Hakan Bakacak <hakanbakacak98 at gmail.com>
AuthorDate: Mon Jan 27 15:41:40 2020 +0300
Commit:     Muhammet Kara <muhammet.kara at collabora.com>
CommitDate: Tue Jan 28 21:22:59 2020 +0100

    tdf#88205: Adapt uses of css::uno::Sequence to use initializer_list ctor
    
    Change-Id: Ifda9d3a4f05ffa9f611512d5d203e40d67d1c542
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87522
    Tested-by: Jenkins
    Reviewed-by: Muhammet Kara <muhammet.kara at collabora.com>

diff --git a/toolkit/source/controls/tabpagemodel.cxx b/toolkit/source/controls/tabpagemodel.cxx
index 34849170bd14..8b9ebbc1036b 100644
--- a/toolkit/source/controls/tabpagemodel.cxx
+++ b/toolkit/source/controls/tabpagemodel.cxx
@@ -177,8 +177,7 @@ sal_Bool SAL_CALL UnoControlTabPage::supportsService(OUString const & ServiceNam
 
 css::uno::Sequence<OUString> SAL_CALL UnoControlTabPage::getSupportedServiceNames()
 {
-    css::uno::Sequence< OUString > aSeq { "com.sun.star.awt.tab.UnoControlTabPage" };
-    return aSeq;
+    return { "com.sun.star.awt.tab.UnoControlTabPage" };
 }
 
 void UnoControlTabPage::dispose()


More information about the Libreoffice-commits mailing list