[Libreoffice-commits] core.git: desktop/test

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Fri Jan 10 20:59:47 UTC 2020


 desktop/test/deployment/active/active_native.cxx   |    3 ++-
 desktop/test/deployment/passive/passive_native.cxx |    3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

New commits:
commit df5e6229b9ea3f881b5d66b418f1e63b892c80d3
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Fri Jan 10 19:07:53 2020 +0100
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Fri Jan 10 21:59:18 2020 +0100

    Fix Extension_test-{active,passive}
    
    ...after b1d8262dad9939ffbf38f288d0ec60727e3742fb "tdf#88205 Adapt uses of
    css::uno::Sequence to use initializer_list ctor".  Not only are these files
    !LIBO_INTERNAL_ONLY, but that commit had also introduced a spurious U+00A0 NO-
    BREAK SPACE into desktop/test/deployment/active/active_native.cxx.
    
    Change-Id: I433c267dade0af3c4af963aef97d282067aea62e
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86570
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/desktop/test/deployment/active/active_native.cxx b/desktop/test/deployment/active/active_native.cxx
index 40ac55caa736..0f12544b6a6b 100644
--- a/desktop/test/deployment/active/active_native.cxx
+++ b/desktop/test/deployment/active/active_native.cxx
@@ -107,7 +107,8 @@ rtl::OUString Provider::static_getImplementationName() {
 
 css::uno::Sequence< rtl::OUString > Provider::static_getSupportedServiceNames()
 {
-    return { "com.sun.star.test.deployment.active_native" };
+    rtl::OUString name("com.sun.star.test.deployment.active_native");
+    return css::uno::Sequence< rtl::OUString >(&name, 1);
 }
 
 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 4a631726aa1f..83b955a00313 100644
--- a/desktop/test/deployment/passive/passive_native.cxx
+++ b/desktop/test/deployment/passive/passive_native.cxx
@@ -104,7 +104,8 @@ rtl::OUString Provider::static_getImplementationName() {
 
 css::uno::Sequence< rtl::OUString > Provider::static_getSupportedServiceNames()
 {
-    return { "com.sun.star.test.deployment.passive_native" };
+    rtl::OUString name("com.sun.star.test.deployment.passive_native");
+    return css::uno::Sequence< rtl::OUString >(&name, 1);
 }
 
 css::uno::Reference< css::frame::XDispatch > Provider::queryDispatch(


More information about the Libreoffice-commits mailing list