diff options
Diffstat (limited to 'desktop')
-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( |