diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-03-21 14:34:47 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-03-21 20:43:51 +0100 |
commit | f8538ec4967b205b03f8e06fba86c6f09a679bc9 (patch) | |
tree | f70596bc9e0c063994650ad622266441efae3743 /editeng/source | |
parent | a95abea894d098de8338b4138c76c28efe42d056 (diff) |
cid#1473798 silence Unchecked return value from library
Change-Id: I00174b5444749f3345f5691e24eb5219d1b47059
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112837
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'editeng/source')
-rw-r--r-- | editeng/source/editeng/editdoc.cxx | 2 | ||||
-rw-r--r-- | editeng/source/editeng/editobj.cxx | 2 | ||||
-rw-r--r-- | editeng/source/outliner/outliner.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/editeng/source/editeng/editdoc.cxx b/editeng/source/editeng/editdoc.cxx index a5e28d0c6b34..d429cbe1e762 100644 --- a/editeng/source/editeng/editdoc.cxx +++ b/editeng/source/editeng/editdoc.cxx @@ -2695,7 +2695,7 @@ void EditDoc::dumpAsXml(xmlTextWriterPtr pWriter) const { pWriter = xmlNewTextWriterFilename("editdoc.xml", 0); xmlTextWriterSetIndent(pWriter,1); - xmlTextWriterSetIndentString(pWriter, BAD_CAST(" ")); + (void)xmlTextWriterSetIndentString(pWriter, BAD_CAST(" ")); (void)xmlTextWriterStartDocument(pWriter, nullptr, nullptr, nullptr); bOwns = true; } diff --git a/editeng/source/editeng/editobj.cxx b/editeng/source/editeng/editobj.cxx index 05abf41a7b67..af80e2845bd6 100644 --- a/editeng/source/editeng/editobj.cxx +++ b/editeng/source/editeng/editobj.cxx @@ -421,7 +421,7 @@ void EditTextObject::dumpAsXml(xmlTextWriterPtr pWriter) const { pWriter = xmlNewTextWriterFilename("editTextObject.xml", 0); xmlTextWriterSetIndent(pWriter,1); - xmlTextWriterSetIndentString(pWriter, BAD_CAST(" ")); + (void)xmlTextWriterSetIndentString(pWriter, BAD_CAST(" ")); (void)xmlTextWriterStartDocument(pWriter, nullptr, nullptr, nullptr); bOwns = true; } diff --git a/editeng/source/outliner/outliner.cxx b/editeng/source/outliner/outliner.cxx index 7b259959ea04..34ef7f981121 100644 --- a/editeng/source/outliner/outliner.cxx +++ b/editeng/source/outliner/outliner.cxx @@ -2166,7 +2166,7 @@ void Outliner::dumpAsXml(xmlTextWriterPtr pWriter) const { pWriter = xmlNewTextWriterFilename("outliner.xml", 0); xmlTextWriterSetIndent(pWriter,1); - xmlTextWriterSetIndentString(pWriter, BAD_CAST(" ")); + (void)xmlTextWriterSetIndentString(pWriter, BAD_CAST(" ")); (void)xmlTextWriterStartDocument(pWriter, nullptr, nullptr, nullptr); bOwns = true; } |