From 9b9e5cfd2fa629b2e1dc4a193e48a4a4e8d34126 Mon Sep 17 00:00:00 2001 From: Gökhan Gurbetoğlu Date: Mon, 20 Jun 2016 17:40:13 +0300 Subject: tdf#99589 - tolower / toupper - dangerous to Turks ... Change-Id: I8b0fe9354232a7b60f3605fa6f90f6741f7bf683 Reviewed-on: https://gerrit.libreoffice.org/26537 Tested-by: Jenkins Reviewed-by: jan iversen --- l10ntools/source/gL10nMem.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'l10ntools') diff --git a/l10ntools/source/gL10nMem.cxx b/l10ntools/source/gL10nMem.cxx index 26621217a99f..0a533dce0220 100644 --- a/l10ntools/source/gL10nMem.cxx +++ b/l10ntools/source/gL10nMem.cxx @@ -21,7 +21,7 @@ #include #include #include -#include +#include using namespace std; #include "gL10nMem.hxx" @@ -871,7 +871,7 @@ bool l10nMem::locateKey(int iLineNo, if (ch == ' ' || ch == '*' || ch == '+' || ch == '%') sUpperKey[i] = '_'; else - sUpperKey[i] = toupper(sUpperKey[i]); + sUpperKey[i] = rtl::toAsciiUpperCase(sUpperKey[i]); } // Fast check, to see if next key is the one (normal with load and source without change) -- cgit