[Libreoffice-commits] core.git: include/rtl sal/qa
Stephan Bergmann
sbergman at redhat.com
Fri Dec 16 11:58:32 UTC 2016
include/rtl/ustring.hxx | 2 +-
sal/qa/rtl/strings/test_oustring_stringliterals.cxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 0dc19268d2f82c4b95b1a0de28a19aea4e0f7e76
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Fri Dec 16 12:57:53 2016 +0100
Typo in meant-to-be-overloading function name
Change-Id: I65ab9176b39a436afce23e6bd4423ebf76219166
diff --git a/include/rtl/ustring.hxx b/include/rtl/ustring.hxx
index ff6b834..337e850 100644
--- a/include/rtl/ustring.hxx
+++ b/include/rtl/ustring.hxx
@@ -819,7 +819,7 @@ public:
/** @overload @since LibreOffice 5.3 */
template<typename T>
typename libreoffice_internal::ConstCharArrayDetector<T, bool>::TypeUtf16
- equalIgnoreAsciiCase(T & literal) const {
+ equalsIgnoreAsciiCase(T & literal) const {
return
rtl_ustr_compareIgnoreAsciiCase_WithLength(
pData->buffer, pData->length,
diff --git a/sal/qa/rtl/strings/test_oustring_stringliterals.cxx b/sal/qa/rtl/strings/test_oustring_stringliterals.cxx
index 1a40117..0db4e29 100644
--- a/sal/qa/rtl/strings/test_oustring_stringliterals.cxx
+++ b/sal/qa/rtl/strings/test_oustring_stringliterals.cxx
@@ -267,7 +267,7 @@ void test::oustring::StringLiterals::checkUtf16() {
s1 += u"fde";
CPPUNIT_ASSERT_EQUAL(rtl::OUString("defde"), s1);
CPPUNIT_ASSERT_EQUAL(sal_Int32(0), s1.reverseCompareTo(u"defde"));
- CPPUNIT_ASSERT(s1.equalIgnoreAsciiCase(u"DEFDE"));
+ CPPUNIT_ASSERT(s1.equalsIgnoreAsciiCase(u"DEFDE"));
CPPUNIT_ASSERT(s1.match(u"fde", 2));
CPPUNIT_ASSERT(s1.matchIgnoreAsciiCase(u"FDE", 2));
rtl::OUString s2;
More information about the Libreoffice-commits
mailing list