summaryrefslogtreecommitdiff
path: root/rsc
diff options
context:
space:
mode:
authordilekuzulmez <dilekuzulmez@gmail.com>2017-04-15 16:05:08 +0300
committerJulien Nabet <serval2412@yahoo.fr>2017-05-18 09:37:47 +0200
commit33cbc99fea5a3e4b87e883fd60ec97d4503109f3 (patch)
tree2d6b0be67a92c1ea2057c308798fb0a0a5a443d5 /rsc
parent7902ac9fbcdbaefa5ec4e7d8d07c240aecad346a (diff)
tdf#99589 tolower / toupper - dangerous to Turks ...
Change-Id: I9b3f63ce6517674c42829fb27611425545bc6978 Reviewed-on: https://gerrit.libreoffice.org/36565 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'rsc')
-rw-r--r--rsc/source/parser/rsclex.cxx2
1 files changed, 1 insertions, 1 deletions
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();
}