diff options
author | apurvapriyadarshi <apriyadarshi.1995@gmail.com> | 2016-05-27 23:49:01 +0530 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2016-05-30 08:49:07 +0000 |
commit | 2b99f832dc611355eedace357cd50d976723d1dd (patch) | |
tree | aea6badf780957f0c7351893bab87ceab1854ec8 /idl | |
parent | a52231c78526e14977d2129fa1abe812de567f03 (diff) |
tdf#99589 tolower / toupper - dangerous to Turks ...
Converted toupper to toAsciiUpperCase
Change-Id: I595e39bd00a15ede6fc9ea3da3c2a4b2a2322a82
Reviewed-on: https://gerrit.libreoffice.org/25566
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'idl')
-rw-r--r-- | idl/source/cmptools/lex.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/idl/source/cmptools/lex.cxx b/idl/source/cmptools/lex.cxx index 82b3c9ea45d9..608448988470 100644 --- a/idl/source/cmptools/lex.cxx +++ b/idl/source/cmptools/lex.cxx @@ -23,6 +23,7 @@ #include <lex.hxx> #include <globals.hxx> #include <rtl/strbuf.hxx> +#include<rtl/character.hxx> OString SvToken::GetTokenAsString() const { @@ -172,7 +173,7 @@ sal_uLong SvTokenStream::GetNumber() if( isdigit( c ) ) l = l * nLog + (c - '0'); else - l = l * nLog + (toupper( c ) - 'A' + 10 ); + l = l * nLog + (rtl::toAsciiUpperCase( c ) - 'A' + 10 ); c = GetFastNextChar(); } } |