sc/qa/unit/ucalc_pivottable.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 2dac65c50481684863433d67999c0ecf81c67e6b Author: Caolán McNamara <caol...@redhat.com> Date: Tue Jun 26 09:02:13 2018 +0100 coverity#1209000 Unchecked return value Change-Id: I1d2a51258deb801ae768dd8b1b44c2c12f41c995 Reviewed-on: https://gerrit.libreoffice.org/56441 Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/sc/qa/unit/ucalc_pivottable.cxx b/sc/qa/unit/ucalc_pivottable.cxx index f069e731c77e..40c72e1b9bd3 100644 --- a/sc/qa/unit/ucalc_pivottable.cxx +++ b/sc/qa/unit/ucalc_pivottable.cxx @@ -267,7 +267,8 @@ void Test::testPivotTable() // don't reload the cache which should force the copy to use the old data // from the cache. ScDPObject* pDPObj2 = new ScDPObject(*pDPObj); - pDPs->InsertNewTable(pDPObj2); + bSuccess = pDPs->InsertNewTable(pDPObj2); + CPPUNIT_ASSERT_MESSAGE("failed to insert a new datapilot object into document", bSuccess); aOutRange = pDPObj2->GetOutRange(); pDPObj2->ClearTableData(); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits