From f8538ec4967b205b03f8e06fba86c6f09a679bc9 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sun, 21 Mar 2021 14:34:47 +0000 Subject: cid#1473798 silence Unchecked return value from library MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I00174b5444749f3345f5691e24eb5219d1b47059 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112837 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- svl/source/undo/undo.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svl') 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; } -- cgit