tdf#88205: Adapt uses of css::uno::Sequence to use initializer_list ctor

Change-Id: Ie7507e6beb470708bb4e52a7b926433043b80d85
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112133
Tested-by: Jenkins
Reviewed-by: John Turpish <jbt@gmx.us>
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
This commit is contained in:
Ahmet Hakan Çelik
2021-03-07 19:06:33 +03:00
committed by Michael Stahl
parent 4db8535fba
commit 3485954401
3 changed files with 3 additions and 6 deletions

View File

@@ -1131,8 +1131,7 @@ OUString SAXEventKeeperImpl_getImplementationName ()
css::uno::Sequence< OUString > SAXEventKeeperImpl_getSupportedServiceNames( )
{
css::uno::Sequence<OUString> aRet { "com.sun.star.xml.crypto.sax.SAXEventKeeper" };
return aRet;
return { "com.sun.star.xml.crypto.sax.SAXEventKeeper" };
}
/* XServiceInfo */

View File

@@ -153,8 +153,7 @@ OUString SignatureCreatorImpl_getImplementationName ()
css::uno::Sequence< OUString > SignatureCreatorImpl_getSupportedServiceNames( )
{
css::uno::Sequence<OUString> aRet { "com.sun.star.xml.crypto.sax.SignatureCreator" };
return aRet;
return { "com.sun.star.xml.crypto.sax.SignatureCreator" };
}
/* XServiceInfo */

View File

@@ -109,8 +109,7 @@ OUString SignatureVerifierImpl_getImplementationName ()
css::uno::Sequence< OUString > SignatureVerifierImpl_getSupportedServiceNames( )
{
css::uno::Sequence<OUString> aRet { "com.sun.star.xml.crypto.sax.SignatureVerifier" };
return aRet;
return { "com.sun.star.xml.crypto.sax.SignatureVerifier" };
}
/* XServiceInfo */