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>
diff --git a/desktop/test/deployment/active/active_native.cxx b/desktop/test/deployment/active/active_native.cxx
index b024b5e..662ff2c 100644
--- a/desktop/test/deployment/active/active_native.cxx
+++ b/desktop/test/deployment/active/active_native.cxx
@@ -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(
diff --git a/desktop/test/deployment/passive/passive_native.cxx b/desktop/test/deployment/passive/passive_native.cxx
index 7b95fff8..6af233a 100644
--- a/desktop/test/deployment/passive/passive_native.cxx
+++ b/desktop/test/deployment/passive/passive_native.cxx
@@ -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(
diff --git a/framework/source/fwe/classes/rootactiontriggercontainer.cxx b/framework/source/fwe/classes/rootactiontriggercontainer.cxx
index 8ce69fd..4181011 100644
--- a/framework/source/fwe/classes/rootactiontriggercontainer.cxx
+++ b/framework/source/fwe/classes/rootactiontriggercontainer.cxx
@@ -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