summaryrefslogtreecommitdiff
path: root/xmlsecurity
diff options
context:
space:
mode:
authorFaruk Demirbaş <miskimit@gmail.com>2020-01-27 14:58:22 +0300
committerMuhammet Kara <muhammet.kara@collabora.com>2020-01-28 21:18:50 +0100
commit627e40b9ef7ba8e9b5b06adc4a553d95cd5e5560 (patch)
treeb900d2d479bc6dd83c651aff7d13f1bfc7c4d3cd /xmlsecurity
parente3bc524629acfdd57898fb11f108fac88ac37be7 (diff)
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@collabora.com>
Diffstat (limited to 'xmlsecurity')
-rw-r--r--xmlsecurity/source/xmlsec/nss/xmlsignature_nssimpl.cxx3
1 files changed, 1 insertions, 2 deletions
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*