diff options
author | Gökhan Gurbetoğlu <gokhan.gurbetoglu@pardus.org.tr> | 2016-06-20 17:40:13 +0300 |
---|---|---|
committer | jan iversen <jani@documentfoundation.org> | 2016-06-23 09:59:49 +0000 |
commit | 9b9e5cfd2fa629b2e1dc4a193e48a4a4e8d34126 (patch) | |
tree | 61a81a6bd407cb9a06bfd8920d982ea714d63bcf /l10ntools/source | |
parent | 8ab7db320ff158949d2eadaa6e654115201ddf61 (diff) |
tdf#99589 - tolower / toupper - dangerous to Turks ...
Change-Id: I8b0fe9354232a7b60f3605fa6f90f6741f7bf683
Reviewed-on: https://gerrit.libreoffice.org/26537
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: jan iversen <jani@documentfoundation.org>
Diffstat (limited to 'l10ntools/source')
-rw-r--r-- | l10ntools/source/gL10nMem.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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 <iostream> #include <fstream> #include <sstream> -#include<rtl/character.hxx> +#include <rtl/character.hxx> 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) |