idl/source/cmptools/lex.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 2b99f832dc611355eedace357cd50d976723d1dd Author: apurvapriyadarshi <apriyadarshi.1...@gmail.com> Date: Fri May 27 23:49:01 2016 +0530 tdf#99589 tolower / toupper - dangerous to Turks ... Converted toupper to toAsciiUpperCase Change-Id: I595e39bd00a15ede6fc9ea3da3c2a4b2a2322a82 Reviewed-on: https://gerrit.libreoffice.org/25566 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Michael Meeks <michael.me...@collabora.com> Tested-by: Michael Meeks <michael.me...@collabora.com> diff --git a/idl/source/cmptools/lex.cxx b/idl/source/cmptools/lex.cxx index 82b3c9e..6084489 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(); } } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits