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

Rosen rosen at live.com
Mon Aug 22 06:32:41 UTC 2016


 comphelper/source/property/opropertybag.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 308d541ed50c3ce3234a4a8ae86c968a70409d63
Author: Rosen <rosen at live.com>
Date:   Sun Aug 21 23:41:12 2016 +0530

    tdf88205 Adapt uses of css::uno::Sequence to use initializer_list ctor
    
    Change-Id: I7a07552fb7f7c6dc66178be5db249007da49eb40
    Reviewed-on: https://gerrit.libreoffice.org/28280
    Reviewed-by: Noel Grandin <noelgrandin at gmail.com>
    Tested-by: Noel Grandin <noelgrandin at gmail.com>

diff --git a/comphelper/source/property/opropertybag.cxx b/comphelper/source/property/opropertybag.cxx
index fb69439..066052b 100644
--- a/comphelper/source/property/opropertybag.cxx
+++ b/comphelper/source/property/opropertybag.cxx
@@ -124,8 +124,7 @@ namespace comphelper
 
     Sequence< OUString > SAL_CALL OPropertyBag::getSupportedServiceNames(  ) throw (RuntimeException, std::exception)
     {
-        Sequence< OUString > aServices { "com.sun.star.beans.PropertyBag" };
-        return aServices;
+         return { "com.sun.star.beans.PropertyBag" };
     }
 
     void OPropertyBag::fireEvents(


More information about the Libreoffice-commits mailing list