summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-09-02 23:22:53 +0200
committerStephan Bergmann <sbergman@redhat.com>2020-09-03 08:11:53 +0200
commit534501e4212d74deb8c213c2a66633dff5441f75 (patch)
treeb0576c176c96a5ca4d53d629f0979a609b739d6f /sal
parentc41d937fdd97238fe7787f97a51b3e2a4c72d30a (diff)
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@redhat.com>
Diffstat (limited to 'sal')
-rw-r--r--sal/qa/rtl/strings/test_oustring_stringliterals.cxx2
1 files changed, 1 insertions, 1 deletions
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 ));