summaryrefslogtreecommitdiff
path: root/sd/qa/unit/tiledrendering/tiledrendering.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/qa/unit/tiledrendering/tiledrendering.cxx')
-rw-r--r--sd/qa/unit/tiledrendering/tiledrendering.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/qa/unit/tiledrendering/tiledrendering.cxx b/sd/qa/unit/tiledrendering/tiledrendering.cxx
index 3c7867d1b07a..cc11e2483991 100644
--- a/sd/qa/unit/tiledrendering/tiledrendering.cxx
+++ b/sd/qa/unit/tiledrendering/tiledrendering.cxx
@@ -354,7 +354,7 @@ xmlDocUniquePtr SdTiledRenderingTest::parseXmlDump()
// Create the xml writer.
m_pXmlBuffer = xmlBufferCreate();
xmlTextWriterPtr pXmlWriter = xmlNewTextWriterMemory(m_pXmlBuffer, 0);
- xmlTextWriterStartDocument(pXmlWriter, nullptr, nullptr, nullptr);
+ (void)xmlTextWriterStartDocument(pXmlWriter, nullptr, nullptr, nullptr);
// Create the dump.
SdXImpressDocument* pImpressDocument = dynamic_cast<SdXImpressDocument*>(mxComponent.get());
@@ -362,7 +362,7 @@ xmlDocUniquePtr SdTiledRenderingTest::parseXmlDump()
pImpressDocument->GetDoc()->dumpAsXml(pXmlWriter);
// Delete the xml writer.
- xmlTextWriterEndDocument(pXmlWriter);
+ (void)xmlTextWriterEndDocument(pXmlWriter);
xmlFreeTextWriter(pXmlWriter);
return xmlDocUniquePtr(xmlParseMemory(reinterpret_cast<const char*>(xmlBufferContent(m_pXmlBuffer)), xmlBufferLength(m_pXmlBuffer)));