From bcf0b17badb760ef852c39cbe192ce4f78ad55fc Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 29 Mar 2018 09:36:46 +0100 Subject: coverity#1433648 Unchecked return value MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I11a60e5c6f7728fd47dbb461004622a99f055b16 Reviewed-on: https://gerrit.libreoffice.org/52060 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- sc/source/filter/xml/xmldrani.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sc') diff --git a/sc/source/filter/xml/xmldrani.cxx b/sc/source/filter/xml/xmldrani.cxx index d71a07e51769..a683169a3f28 100644 --- a/sc/source/filter/xml/xmldrani.cxx +++ b/sc/source/filter/xml/xmldrani.cxx @@ -444,7 +444,7 @@ void SAL_CALL ScXMLDatabaseRangeContext::endFastElement( sal_Int32 /*nElement*/ if (pData.get()) { setAutoFilterFlags(*pDoc, *pData); - pDoc->GetDBCollection()->getNamedDBs().insert(pData.release()); + (void)pDoc->GetDBCollection()->getNamedDBs().insert(pData.release()); } } } -- cgit