diff options
author | Krishna Keshav <princy.krishnakeshav@gmail.com> | 2016-05-07 01:55:23 +0530 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2016-05-09 09:30:27 +0000 |
commit | 26d314d2e25945941d49a4872d7ffa27cfc2fdc8 (patch) | |
tree | f6d957524d2ee3e9668f594bc0f7401b60552916 /helpcompiler/source/HelpCompiler.cxx | |
parent | f4604e43a653a067633c24e069b272b6309b2151 (diff) |
tdf#99589 tolower / toupper - dangerous to Turks ...
Used toAsciiUpperCase() from character.hxx
Change-Id: I79f4638866daf8952103c8a521db925150e8dcda
Reviewed-on: https://gerrit.libreoffice.org/24709
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'helpcompiler/source/HelpCompiler.cxx')
-rw-r--r-- | helpcompiler/source/HelpCompiler.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/helpcompiler/source/HelpCompiler.cxx b/helpcompiler/source/HelpCompiler.cxx index 91458e09e057..4f391b64017f 100644 --- a/helpcompiler/source/HelpCompiler.cxx +++ b/helpcompiler/source/HelpCompiler.cxx @@ -29,6 +29,7 @@ #include <libxslt/xsltutils.h> #include <osl/thread.hxx> #include <chrono> +#include<rtl/character.hxx> static void impl_sleep( sal_uInt32 nSec ) { @@ -462,7 +463,7 @@ bool HelpCompiler::compile() std::string appl = module.substr(1); for (char & i : appl) { - i=toupper(i); + i=rtl::toAsciiUpperCase(i); } xmlNodePtr docResolved = clone(xmlDocGetRootElement(docResolvedOrg), appl); myparser aparser(documentId, fileName, title); |