tdf#88205 Adapt uses of css::uno::Sequence to use initializer_list ctor
Change-Id: Ib40fc069105cbf93c617055a7c6fe466570f0b32 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107844 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
committed by
Stephan Bergmann
parent
e3fe4a4610
commit
e37e990650
@@ -107,8 +107,7 @@ rtl::OUString Provider::static_getImplementationName() {
|
||||
|
||||
css::uno::Sequence< rtl::OUString > Provider::static_getSupportedServiceNames()
|
||||
{
|
||||
rtl::OUString name("com.sun.star.test.deployment.active_native");
|
||||
return css::uno::Sequence< rtl::OUString >(&name, 1);
|
||||
return css::uno::Sequence< rtl::OUString >{"com.sun.star.test.deployment.active_native"};
|
||||
}
|
||||
|
||||
css::uno::Reference< css::frame::XDispatch > Provider::queryDispatch(
|
||||
|
@@ -104,8 +104,7 @@ rtl::OUString Provider::static_getImplementationName() {
|
||||
|
||||
css::uno::Sequence< rtl::OUString > Provider::static_getSupportedServiceNames()
|
||||
{
|
||||
rtl::OUString name("com.sun.star.test.deployment.passive_native");
|
||||
return css::uno::Sequence< rtl::OUString >(&name, 1);
|
||||
return css::uno::Sequence< rtl::OUString >{"com.sun.star.test.deployment.passive_native"};
|
||||
}
|
||||
|
||||
css::uno::Reference< css::frame::XDispatch > Provider::queryDispatch(
|
||||
|
@@ -206,8 +206,7 @@ sal_Bool SAL_CALL RootActionTriggerContainer::supportsService( const OUString& S
|
||||
|
||||
Sequence< OUString > SAL_CALL RootActionTriggerContainer::getSupportedServiceNames()
|
||||
{
|
||||
Sequence< OUString > seqServiceNames { SERVICENAME_ACTIONTRIGGERCONTAINER };
|
||||
return seqServiceNames;
|
||||
return { SERVICENAME_ACTIONTRIGGERCONTAINER };
|
||||
}
|
||||
|
||||
// XUnoTunnel
|
||||
|
Reference in New Issue
Block a user