[Libreoffice-commits] core.git: sal/qa

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Thu Sep 3 06:12:32 UTC 2020


 sal/qa/rtl/strings/test_oustring_stringliterals.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 534501e4212d74deb8c213c2a66633dff5441f75
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Wed Sep 2 23:22:53 2020 +0200
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Thu Sep 3 08:11:53 2020 +0200

    Fix typo
    
    ...introduced with b5ad72bbfca85946e352b56d9d2ee5eb71cd2132 "Replace
    VALID_CONVERSION macro with function".  (VALID_CONVERSION of a lambda was
    trivially false, as neither OUString nor OUStringBuffer have a ctor taking a
    lambda, anyway.)
    
    Change-Id: I1d4f2de0e1b1973d8680f53e03dbbb3d939fcc03
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101982
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/sal/qa/rtl/strings/test_oustring_stringliterals.cxx b/sal/qa/rtl/strings/test_oustring_stringliterals.cxx
index ea470136c823..4ba1b04067d4 100644
--- a/sal/qa/rtl/strings/test_oustring_stringliterals.cxx
+++ b/sal/qa/rtl/strings/test_oustring_stringliterals.cxx
@@ -185,7 +185,7 @@ void test::oustring::StringLiterals::checkNonconstChar()
             [&consttest, &bar]() {
                 return rtl::OUString("footest").replaceAll(consttest, bar); }));
     CPPUNIT_ASSERT(
-        !VALID_CONVERSION(
+        !VALID_CONVERSION_CALL(
             [&test, &constbar]() {
                 return rtl::OUString("footest").replaceAll(test, constbar); }));
     CPPUNIT_ASSERT_EQUAL( rtl::OUString( "foobar" ), rtl::OUString( "footest" ).replaceAll( consttest, constbar ));


More information about the Libreoffice-commits mailing list