From c62f75f0c16ff69231b9c78d756f2c9a7d06ce57 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Sat, 10 Nov 2018 23:08:52 +0100 Subject: Fix typo Change-Id: Id2478ac637140b604cb0f7e3aa4267f02aa859c4 Reviewed-on: https://gerrit.libreoffice.org/63255 Reviewed-by: Julien Nabet Tested-by: Jenkins --- sal/rtl/ustring.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sal/rtl/ustring.cxx') 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(*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(*pStr1); c2 = static_cast(static_cast(*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(*pStr1); c2 = static_cast(static_cast(*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(*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(*pStr1); c2 = static_cast(static_cast(*pStr2)); if ( (c1 >= 65) && (c1 <= 90) ) -- cgit