From c075b8068bff1b3c6025638aaf0acab5bbebab4d Mon Sep 17 00:00:00 2001 From: Luboš Luňák Date: Mon, 17 Dec 2012 16:27:22 +0100 Subject: OUString::reverseCompareTo() string literal overload to match the AsciiL one Change-Id: Id5ca706aa3fd1831990db2310933c6b94ca376cb --- sal/qa/rtl/strings/test_oustring_stringliterals.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'sal/qa') diff --git a/sal/qa/rtl/strings/test_oustring_stringliterals.cxx b/sal/qa/rtl/strings/test_oustring_stringliterals.cxx index a6d7145b9700..873b5366f6a5 100644 --- a/sal/qa/rtl/strings/test_oustring_stringliterals.cxx +++ b/sal/qa/rtl/strings/test_oustring_stringliterals.cxx @@ -145,6 +145,7 @@ void test::oustring::StringLiterals::checkUsage() CPPUNIT_ASSERT( foobarfoo.replaceFirst( "foo", "test" ) == "testbarfoo" ); CPPUNIT_ASSERT( foobarfoo.replaceAll( "foo", test ) == "testbartest" ); CPPUNIT_ASSERT( foobarfoo.replaceAll( "foo", "test" ) == "testbartest" ); + CPPUNIT_ASSERT( foo.reverseCompareTo( "foo" ) == 0 ); // if this is not true, some of the calls above converted to OUString CPPUNIT_ASSERT( rtl_string_unittest_const_literal == false ); } -- cgit