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 /sd | |
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 'sd')
-rw-r--r-- | sd/source/core/drawdoc.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/core/drawdoc.cxx b/sd/source/core/drawdoc.cxx index 182377c2dff7..4e7c6c5dbd88 100644 --- a/sd/source/core/drawdoc.cxx +++ b/sd/source/core/drawdoc.cxx @@ -1184,7 +1184,7 @@ void SdDrawDocument::dumpAsXml(xmlTextWriterPtr pWriter) const { pWriter = xmlNewTextWriterFilename("model.xml", 0); xmlTextWriterSetIndent(pWriter,1); - xmlTextWriterSetIndentString(pWriter, BAD_CAST(" ")); + (void)xmlTextWriterSetIndentString(pWriter, BAD_CAST(" ")); (void)xmlTextWriterStartDocument(pWriter, nullptr, nullptr, nullptr); bOwns = true; } |