summaryrefslogtreecommitdiff
path: root/sc/source/filter
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-03-29 09:36:46 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-03-29 15:09:27 +0200
commitbcf0b17badb760ef852c39cbe192ce4f78ad55fc (patch)
tree521a26212d6c55c2e7acef17466beda728108959 /sc/source/filter
parent14a8dfcfae560d8bb8592af64f2d133683decfc2 (diff)
coverity#1433648 Unchecked return value
Change-Id: I11a60e5c6f7728fd47dbb461004622a99f055b16 Reviewed-on: https://gerrit.libreoffice.org/52060 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/filter')
-rw-r--r--sc/source/filter/xml/xmldrani.cxx2
1 files changed, 1 insertions, 1 deletions
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());
}
}
}