From e37e990650694d7d3a44a38a6bf23751bb33da67 Mon Sep 17 00:00:00 2001 From: homeboy445 Date: Mon, 14 Dec 2020 18:46:26 +0530 Subject: 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 --- desktop/test/deployment/passive/passive_native.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'desktop/test/deployment/passive') diff --git a/desktop/test/deployment/passive/passive_native.cxx b/desktop/test/deployment/passive/passive_native.cxx index 7b95fff8b537..6af233a72d56 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( -- cgit