diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2018-11-10 23:08:52 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2018-11-11 09:13:37 +0100 |
commit | c62f75f0c16ff69231b9c78d756f2c9a7d06ce57 (patch) | |
tree | 9ee36545d1d3662d4d8ea140ea86bfb66de89691 /sal/rtl/ustring.cxx | |
parent | 55f267856e11492ae11beadbeb553dd6717de809 (diff) |
Fix typo
Change-Id: Id2478ac637140b604cb0f7e3aa4267f02aa859c4
Reviewed-on: https://gerrit.libreoffice.org/63255
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
Diffstat (limited to 'sal/rtl/ustring.cxx')
-rw-r--r-- | sal/rtl/ustring.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
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) ) |