diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-03-19 14:47:58 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-03-19 21:07:04 +0100 |
commit | 7a5014b24e2755e56790dbfd56fea2c789aa792c (patch) | |
tree | 2d9616b4eff5f11c790f774f5b293ff1801886c9 /sw/qa/core/uwriter.cxx | |
parent | bd7e258bac69f3b9f9e87128aacb989d23e24d4f (diff) |
silence coverity unchecked return value from library on xmlText* functions
Change-Id: I651abb00d8ae1bdbf758a6a0176fd8912531a585
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112753
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/qa/core/uwriter.cxx')
-rw-r--r-- | sw/qa/core/uwriter.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/qa/core/uwriter.cxx b/sw/qa/core/uwriter.cxx index 5c872bb5ebf5..5a9ae1b04ac5 100644 --- a/sw/qa/core/uwriter.cxx +++ b/sw/qa/core/uwriter.cxx @@ -1185,9 +1185,9 @@ void SwDocTest::randomTest() xmlTextWriterPtr writer; writer = xmlNewTextWriterFilename( aBuffer.makeStringAndClear().getStr(), 0 ); - xmlTextWriterStartDocument( writer, NULL, NULL, NULL ); + (void)xmlTextWriterStartDocument( writer, NULL, NULL, NULL ); m_pDoc->dumpAsXml(writer); - xmlTextWriterEndDocument( writer ); + (void)xmlTextWriterEndDocument( writer ); xmlFreeTextWriter( writer ); #endif } |