cid#1448239 unsafe_xml_parse_config

This branch is only in use for the build-tool mode, so doesn't affect extension
help.

I can find no difference in our output help dir with these removed vs in place
so lets remove it.

Change-Id: If8511b6cb74f1af136a71ab39a7a5759d50c43eb
Reviewed-on: https://gerrit.libreoffice.org/83480
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
Caolán McNamara 2019-11-22 12:11:53 +00:00
parent 82d2049df2
commit 77cb90532d

View file

@ -130,9 +130,6 @@ xmlDocPtr HelpCompiler::getSourceDocument(const fs::path &filePath)
{
static std::string fsroot('\'' + src.toUTF8() + '\'');
// coverity[unsafe_xml_parse_config] - entity support is required in the build-time only utility
xmlSubstituteEntitiesDefault(1);
xmlLoadExtDtdDefaultValue = 1;
cur = xsltParseStylesheetFile(reinterpret_cast<const xmlChar *>(resEmbStylesheet.native_file_string().c_str()));
int nbparams = 0;