summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/rtl/ustring.hxx2
-rw-r--r--sal/qa/rtl/strings/test_oustring_stringliterals.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/rtl/ustring.hxx b/include/rtl/ustring.hxx
index ff6b834c22d3..337e8509a53d 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 1a40117e5be5..0db4e2981620 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;