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 /svl | |
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 'svl')
-rw-r--r-- | svl/source/undo/undo.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/source/undo/undo.cxx b/svl/source/undo/undo.cxx index 71d7b6f254a7..ee9af634a4ba 100644 --- a/svl/source/undo/undo.cxx +++ b/svl/source/undo/undo.cxx @@ -1146,7 +1146,7 @@ void SfxUndoManager::dumpAsXml(xmlTextWriterPtr pWriter) const { pWriter = xmlNewTextWriterFilename("undo.xml", 0); xmlTextWriterSetIndent(pWriter,1); - xmlTextWriterSetIndentString(pWriter, BAD_CAST(" ")); + (void)xmlTextWriterSetIndentString(pWriter, BAD_CAST(" ")); (void)xmlTextWriterStartDocument(pWriter, nullptr, nullptr, nullptr); bOwns = true; } |