[Libreoffice-commits] core.git: 2 commits - sax/source xmloff/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Fri Jul 26 10:39:02 UTC 2019
sax/source/fastparser/fastparser.cxx | 2 +-
xmloff/source/text/txtfldi.cxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit c1a76b810bbf94837a0ae94d6d4d53a61122c01a
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Fri Jul 26 08:29:46 2019 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Fri Jul 26 12:38:21 2019 +0200
cid#1452040 silence Unchecked return value
Change-Id: I4b59245b457def5479ad20363181f538b3b49a69
Reviewed-on: https://gerrit.libreoffice.org/76349
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/xmloff/source/text/txtfldi.cxx b/xmloff/source/text/txtfldi.cxx
index 80be0124235d..95986dd42a0a 100644
--- a/xmloff/source/text/txtfldi.cxx
+++ b/xmloff/source/text/txtfldi.cxx
@@ -3472,7 +3472,7 @@ void XMLAnnotationImportContext::PrepareField(
//import resolved flag
bool bTmp(false);
- ::sax::Converter::convertBool(bTmp, aResolved);
+ (void)::sax::Converter::convertBool(bTmp, aResolved);
xPropertySet->setPropertyValue("Resolved", makeAny(bTmp));
util::DateTime aDateTime;
commit 3a0eb373f092cb53cce516bc09438f6e57bce158
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Fri Jul 26 08:53:15 2019 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Fri Jul 26 12:38:07 2019 +0200
cid#1448394 try silence unsafe_xml_parse_config
Change-Id: I7dd015a497ffe8b953652f22aa8bbb35e0788efd
Reviewed-on: https://gerrit.libreoffice.org/76356
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/sax/source/fastparser/fastparser.cxx b/sax/source/fastparser/fastparser.cxx
index 6114cbc469d1..67f0f23b7bea 100644
--- a/sax/source/fastparser/fastparser.cxx
+++ b/sax/source/fastparser/fastparser.cxx
@@ -1055,7 +1055,7 @@ void FastSaxParserImpl::parse()
throw SAXException("Couldn't create parser", Reference< XInterface >(), Any() );
// Tell libxml2 parser to decode entities in attribute values.
- // coverity[unsafe-xml-parse-config] - entity support is required
+ // coverity[unsafe_xml_parse_config] - entity support is required
xmlCtxtUseOptions(rEntity.mpParser, XML_PARSE_NOENT);
}
else
More information about the Libreoffice-commits
mailing list