[Libreoffice-commits] core.git: Branch 'libreoffice-5-3' - include/rtl sal/qa

Stephan Bergmann sbergman at redhat.com
Fri Dec 16 15:26:36 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 976f5101f375304f67ebccb546ea265c08f72404
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
    (cherry picked from commit 0dc19268d2f82c4b95b1a0de28a19aea4e0f7e76)
    Reviewed-on: https://gerrit.libreoffice.org/32079
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
    Tested-by: Stephan Bergmann <sbergman at redhat.com>

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 27f7080..859d1ac 100644
--- a/sal/qa/rtl/strings/test_oustring_stringliterals.cxx
+++ b/sal/qa/rtl/strings/test_oustring_stringliterals.cxx
@@ -264,7 +264,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