editeng/source/editeng/editdoc.cxx | 2 +- editeng/source/editeng/editobj.cxx | 2 +- editeng/source/outliner/outliner.cxx | 2 +- sc/source/ui/view/gridwin_dbgutil.cxx | 2 +- sd/source/core/drawdoc.cxx | 2 +- svl/source/undo/undo.cxx | 2 +- sw/source/core/doc/docfmt.cxx | 2 +- sw/source/core/text/xmldump.cxx | 2 +- writerfilter/source/dmapper/TagLogger.cxx | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-)
New commits: commit f8538ec4967b205b03f8e06fba86c6f09a679bc9 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Sun Mar 21 14:34:47 2021 +0000 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Sun Mar 21 20:43:51 2021 +0100 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 <caol...@redhat.com> 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; } diff --git a/sc/source/ui/view/gridwin_dbgutil.cxx b/sc/source/ui/view/gridwin_dbgutil.cxx index bcb1da5ff695..f9c2209bda88 100644 --- a/sc/source/ui/view/gridwin_dbgutil.cxx +++ b/sc/source/ui/view/gridwin_dbgutil.cxx @@ -91,7 +91,7 @@ void ScGridWindow::dumpCellProperties() xmlTextWriterPtr writer = xmlNewTextWriterFilename( "dump.xml", 0 ); xmlTextWriterSetIndent(writer,1); - xmlTextWriterSetIndentString(writer, BAD_CAST(" ")); + (void)xmlTextWriterSetIndentString(writer, BAD_CAST(" ")); (void)xmlTextWriterStartDocument( writer, nullptr, nullptr, nullptr ); 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; } 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; } diff --git a/sw/source/core/doc/docfmt.cxx b/sw/source/core/doc/docfmt.cxx index ee4854e142e0..a552585df6ab 100644 --- a/sw/source/core/doc/docfmt.cxx +++ b/sw/source/core/doc/docfmt.cxx @@ -1935,7 +1935,7 @@ void SwDoc::dumpAsXml(xmlTextWriterPtr pWriter) const { pWriter = xmlNewTextWriterFilename("nodes.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/sw/source/core/text/xmldump.cxx b/sw/source/core/text/xmldump.cxx index 8ad6d956aba4..3f719548f937 100644 --- a/sw/source/core/text/xmldump.cxx +++ b/sw/source/core/text/xmldump.cxx @@ -231,7 +231,7 @@ class XmlPortionDumper:public SwPortionHandler { xmlTextWriterPtr writer = xmlNewTextWriterFilename( "layout.xml", 0 ); xmlTextWriterSetIndent(writer,1); - xmlTextWriterSetIndentString(writer, BAD_CAST(" ")); + (void)xmlTextWriterSetIndentString(writer, BAD_CAST(" ")); (void)xmlTextWriterStartDocument( writer, nullptr, nullptr, nullptr ); return writer; } diff --git a/writerfilter/source/dmapper/TagLogger.cxx b/writerfilter/source/dmapper/TagLogger.cxx index efe1485bc4fe..1e9c14aa8066 100644 --- a/writerfilter/source/dmapper/TagLogger.cxx +++ b/writerfilter/source/dmapper/TagLogger.cxx @@ -69,7 +69,7 @@ namespace writerfilter pWriter = xmlNewTextWriterFilename( fileName.c_str(), 0 ); xmlTextWriterSetIndent(pWriter,1); - xmlTextWriterSetIndentString(pWriter, BAD_CAST(" ")); + (void)xmlTextWriterSetIndentString(pWriter, BAD_CAST(" ")); xmlTextWriterSetIndent( pWriter, 4 ); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits