diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-11-22 12:11:53 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-11-22 15:31:07 +0100 |
commit | 77cb90532d14d5035990d078977fce7b407c4fad (patch) | |
tree | fb89f1cf4fd384710804e09e0ee1d1cf16037705 /helpcompiler/source | |
parent | 82d2049df2fd9ed4275b93762d75600287f7d926 (diff) |
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>
Diffstat (limited to 'helpcompiler/source')
-rw-r--r-- | helpcompiler/source/HelpCompiler.cxx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/helpcompiler/source/HelpCompiler.cxx b/helpcompiler/source/HelpCompiler.cxx index 78d16b2feaf3..678cf8ee033a 100644 --- a/helpcompiler/source/HelpCompiler.cxx +++ b/helpcompiler/source/HelpCompiler.cxx @@ -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; |