diff options
author | homeboy445 <akshitsan13@gmail.com> | 2020-12-14 18:46:26 +0530 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-12-20 16:14:19 +0100 |
commit | e37e990650694d7d3a44a38a6bf23751bb33da67 (patch) | |
tree | 17cddc3c3ff8888b0e9e2408bb2d20b0246317e1 /desktop/test/deployment | |
parent | e3fe4a46104d9379bca3302fd9ed3883915f2d80 (diff) |
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>
Diffstat (limited to 'desktop/test/deployment')
-rw-r--r-- | desktop/test/deployment/active/active_native.cxx | 3 | ||||
-rw-r--r-- | desktop/test/deployment/passive/passive_native.cxx | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/desktop/test/deployment/active/active_native.cxx b/desktop/test/deployment/active/active_native.cxx index b024b5e4ff40..662ff2c16742 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 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( |