diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-03-19 14:47:58 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-03-19 21:07:04 +0100 |
commit | 7a5014b24e2755e56790dbfd56fea2c789aa792c (patch) | |
tree | 2d9616b4eff5f11c790f774f5b293ff1801886c9 /svx/source/sdr | |
parent | bd7e258bac69f3b9f9e87128aacb989d23e24d4f (diff) |
silence coverity unchecked return value from library on xmlText* functions
Change-Id: I651abb00d8ae1bdbf758a6a0176fd8912531a585
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112753
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx/source/sdr')
-rw-r--r-- | svx/source/sdr/properties/defaultproperties.cxx | 4 | ||||
-rw-r--r-- | svx/source/sdr/properties/properties.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/sdr/properties/defaultproperties.cxx b/svx/source/sdr/properties/defaultproperties.cxx index e9a9934a9973..40675946848d 100644 --- a/svx/source/sdr/properties/defaultproperties.cxx +++ b/svx/source/sdr/properties/defaultproperties.cxx @@ -244,10 +244,10 @@ namespace sdr::properties void DefaultProperties::dumpAsXml(xmlTextWriterPtr pWriter) const { - xmlTextWriterStartElement(pWriter, BAD_CAST("DefaultProperties")); + (void)xmlTextWriterStartElement(pWriter, BAD_CAST("DefaultProperties")); BaseProperties::dumpAsXml(pWriter); mpItemSet->dumpAsXml(pWriter); - xmlTextWriterEndElement(pWriter); + (void)xmlTextWriterEndElement(pWriter); } } // end of namespace diff --git a/svx/source/sdr/properties/properties.cxx b/svx/source/sdr/properties/properties.cxx index c3ffd1d86313..353cdc5ede36 100644 --- a/svx/source/sdr/properties/properties.cxx +++ b/svx/source/sdr/properties/properties.cxx @@ -155,8 +155,8 @@ namespace sdr::properties void BaseProperties::dumpAsXml(xmlTextWriterPtr pWriter) const { - xmlTextWriterStartElement(pWriter, BAD_CAST("BaseProperties")); - xmlTextWriterEndElement(pWriter); + (void)xmlTextWriterStartElement(pWriter, BAD_CAST("BaseProperties")); + (void)xmlTextWriterEndElement(pWriter); } void CleanupFillProperties( SfxItemSet& rItemSet ) |