diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-12-16 12:57:53 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-12-16 12:57:53 +0100 |
commit | 0dc19268d2f82c4b95b1a0de28a19aea4e0f7e76 (patch) | |
tree | 9f0a1728a6d746b68ac9ce618eb2d0d1d0c31a6d | |
parent | 3ccc2c027cf30d94414e5c1e26f9bb2d878aff82 (diff) |
Typo in meant-to-be-overloading function name
Change-Id: I65ab9176b39a436afce23e6bd4423ebf76219166
-rw-r--r-- | include/rtl/ustring.hxx | 2 | ||||
-rw-r--r-- | sal/qa/rtl/strings/test_oustring_stringliterals.cxx | 2 |
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; |