[Libreoffice-commits] core.git: sc/source
Caolán McNamara
caolanm at redhat.com
Thu Mar 29 13:09:55 UTC 2018
sc/source/filter/xml/xmldrani.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit bcf0b17badb760ef852c39cbe192ce4f78ad55fc
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Mar 29 09:36:46 2018 +0100
coverity#1433648 Unchecked return value
Change-Id: I11a60e5c6f7728fd47dbb461004622a99f055b16
Reviewed-on: https://gerrit.libreoffice.org/52060
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
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());
}
}
}
More information about the Libreoffice-commits
mailing list