rsc/source/parser/rsclex.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 33cbc99fea5a3e4b87e883fd60ec97d4503109f3 Author: dilekuzulmez <dilekuzul...@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 <c...@libreoffice.org> Reviewed-by: Julien Nabet <serval2...@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(); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits