From 77cb90532d14d5035990d078977fce7b407c4fad Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 22 Nov 2019 12:11:53 +0000 Subject: cid#1448239 unsafe_xml_parse_config MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Tested-by: Caolán McNamara --- helpcompiler/source/HelpCompiler.cxx | 3 --- 1 file changed, 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(resEmbStylesheet.native_file_string().c_str())); int nbparams = 0; -- cgit fice-5-2 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author