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

Faruk DemirbaÅŸ (via logerrit) logerrit at kemper.freedesktop.org
Tue Jan 28 20:19:29 UTC 2020


 xmlsecurity/source/xmlsec/nss/xmlsignature_nssimpl.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 627e40b9ef7ba8e9b5b06adc4a553d95cd5e5560
Author:     Faruk Demirbaş <miskimit at gmail.com>
AuthorDate: Mon Jan 27 14:58:22 2020 +0300
Commit:     Muhammet Kara <muhammet.kara at collabora.com>
CommitDate: Tue Jan 28 21:18:50 2020 +0100

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

diff --git a/xmlsecurity/source/xmlsec/nss/xmlsignature_nssimpl.cxx b/xmlsecurity/source/xmlsec/nss/xmlsignature_nssimpl.cxx
index 9f2c8e43acdc..834bf57694fa 100644
--- a/xmlsecurity/source/xmlsec/nss/xmlsignature_nssimpl.cxx
+++ b/xmlsecurity/source/xmlsec/nss/xmlsignature_nssimpl.cxx
@@ -304,8 +304,7 @@ sal_Bool SAL_CALL XMLSignature_NssImpl::supportsService(const OUString& rService
 /* XServiceInfo */
 Sequence<OUString> SAL_CALL XMLSignature_NssImpl::getSupportedServiceNames()
 {
-    Sequence<OUString> seqServiceNames { "com.sun.star.xml.crypto.XMLSignature" };
-    return seqServiceNames;
+    return { "com.sun.star.xml.crypto.XMLSignature" };
 }
 
 extern "C" SAL_DLLPUBLIC_EXPORT uno::XInterface*


More information about the Libreoffice-commits mailing list