[Libreoffice-commits] core.git: rsc/source
dilekuzulmez
dilekuzulmez at gmail.com
Thu May 18 07:38:41 UTC 2017
rsc/source/parser/rsclex.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 33cbc99fea5a3e4b87e883fd60ec97d4503109f3
Author: dilekuzulmez <dilekuzulmez at gmail.com>
Date: Sat Apr 15 16:05:08 2017 +0300
tdf#99589 tolower / toupper - dangerous to Turks ...
Change-Id: I9b3f63ce6517674c42829fb27611425545bc6978
Reviewed-on: https://gerrit.libreoffice.org/36565
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
diff --git a/rsc/source/parser/rsclex.cxx b/rsc/source/parser/rsclex.cxx
index f240903c9b05..c85ef55c96cc 100644
--- a/rsc/source/parser/rsclex.cxx
+++ b/rsc/source/parser/rsclex.cxx
@@ -89,7 +89,7 @@ sal_uInt32 GetNumber()
if( rtl::isAsciiDigit( static_cast<unsigned char>(c) ) )
l = l * nLog + (c - '0');
else
- l = l * nLog + (toupper( c ) - 'A' + 10 );
+ l = l * nLog + (rtl::toAsciiUpperCase( static_cast<sal_uInt32>(c) ) - 'A' + 10 );
c = pFI->GetFastChar();
}
More information about the Libreoffice-commits
mailing list