sal/rtl/ustring.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
New commits: commit c62f75f0c16ff69231b9c78d756f2c9a7d06ce57 Author: Andrea Gelmini <andrea.gelm...@gelma.net> AuthorDate: Sat Nov 10 23:08:52 2018 +0100 Commit: Julien Nabet <serval2...@yahoo.fr> CommitDate: Sun Nov 11 09:13:37 2018 +0100 Fix typo Change-Id: Id2478ac637140b604cb0f7e3aa4267f02aa859c4 Reviewed-on: https://gerrit.libreoffice.org/63255 Reviewed-by: Julien Nabet <serval2...@yahoo.fr> Tested-by: Jenkins diff --git a/sal/rtl/ustring.cxx b/sal/rtl/ustring.cxx index 069af06516cb..dafccb4d7d28 100644 --- a/sal/rtl/ustring.cxx +++ b/sal/rtl/ustring.cxx @@ -367,7 +367,7 @@ sal_Int32 SAL_CALL rtl_ustr_ascii_compareIgnoreAsciiCase( const sal_Unicode* pSt /* Check ASCII range */ SAL_WARN_IF( (static_cast<unsigned char>(*pStr2)) > 127, "rtl.string", "rtl_ustr_ascii_compareIgnoreAsciiCase - Found char > 127" ); - /* If character between 'A' and 'Z', than convert it to lowercase */ + /* If character between 'A' and 'Z', then convert it to lowercase */ c1 = static_cast<sal_Int32>(*pStr1); c2 = static_cast<sal_Int32>(static_cast<unsigned char>(*pStr2)); if ( (c1 >= 65) && (c1 <= 90) ) @@ -406,7 +406,7 @@ sal_Int32 SAL_CALL rtl_ustr_ascii_compareIgnoreAsciiCase_WithLength( const sal_U if ( !nStr1Len ) return *pStr2 == '\0' ? 0 : -1; - /* If character between 'A' and 'Z', than convert it to lowercase */ + /* If character between 'A' and 'Z', then convert it to lowercase */ c1 = static_cast<sal_Int32>(*pStr1); c2 = static_cast<sal_Int32>(static_cast<unsigned char>(*pStr2)); if ( (c1 >= 65) && (c1 <= 90) ) @@ -475,7 +475,7 @@ sal_Int32 SAL_CALL rtl_ustr_ascii_shortenedCompareIgnoreAsciiCase_WithLength( co SAL_WARN_IF( (static_cast<unsigned char>(*pStr2)) > 127, "rtl.string", "rtl_ustr_ascii_shortenedCompareIgnoreAsciiCase_WithLength - Found char > 127" ); - /* If character between 'A' and 'Z', than convert it to lowercase */ + /* If character between 'A' and 'Z', then convert it to lowercase */ c1 = static_cast<sal_Int32>(*pStr1); c2 = static_cast<sal_Int32>(static_cast<unsigned char>(*pStr2)); if ( (c1 >= 65) && (c1 <= 90) ) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits