summaryrefslogtreecommitdiff
path: root/l10ntools
diff options
context:
space:
mode:
authorKrishna Keshav <princy.krishnakeshav@gmail.com>2016-05-05 23:28:29 +0530
committerMichael Meeks <michael.meeks@collabora.com>2016-05-10 15:25:16 +0000
commit1fcd8dfb70124acc935c24e066dfd3e2144baec9 (patch)
tree166e7f3d27840eefd27d8d0a164bff588e3c56a3 /l10ntools
parent6bf020fb7ef0a13188ece51d41dd101141b42b41 (diff)
tdf#99589 tolower / toupper - dangerous to Turks ...
replaced tolower with to AsciiLowerCase() in lingucomponent/source/languageguessing/altstrfunc.cxx l10ntools/source/gL10nMem.cxx Change-Id: I1340da18b263a4a921e2e8d96c0f133fe300086e Reviewed-on: https://gerrit.libreoffice.org/24682 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'l10ntools')
-rw-r--r--l10ntools/source/gL10nMem.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/l10ntools/source/gL10nMem.cxx b/l10ntools/source/gL10nMem.cxx
index 62c924a90329..26621217a99f 100644
--- a/l10ntools/source/gL10nMem.cxx
+++ b/l10ntools/source/gL10nMem.cxx
@@ -21,6 +21,7 @@
#include <iostream>
#include <fstream>
#include <sstream>
+#include<rtl/character.hxx>
using namespace std;
#include "gL10nMem.hxx"
@@ -977,6 +978,6 @@ void l10nMem::keyToLower(string& sKey)
if (ch == ' ' || ch == '*' || ch == '+' || ch == '%')
sKey[i] = '_';
else
- sKey[i] = tolower(ch);
+ sKey[i] = toAsciiLowerCase(ch);
}
}