From 26d314d2e25945941d49a4872d7ffa27cfc2fdc8 Mon Sep 17 00:00:00 2001 From: Krishna Keshav Date: Sat, 7 May 2016 01:55:23 +0530 Subject: 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 Tested-by: Michael Meeks --- helpcompiler/source/HelpCompiler.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'helpcompiler/source') 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 #include #include +#include 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); -- cgit