diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-03-19 16:49:48 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-03-19 21:29:43 +0000 |
commit | 19fd963db6684a69ac13101c056a135d1b96687b (patch) | |
tree | 3e45294f5bccc80b87fd347e01306b69d5635201 /sc/qa/unit | |
parent | 3a699403f1c6d979fc61f4bc14e5c1f740c8aab0 (diff) |
coverity#1209001 Unchecked return value
Change-Id: I1d2615ed478417a965ebddb37539ce4697b8e92f
Diffstat (limited to 'sc/qa/unit')
-rw-r--r-- | sc/qa/unit/ucalc_pivottable.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/qa/unit/ucalc_pivottable.cxx b/sc/qa/unit/ucalc_pivottable.cxx index 07b04ca96c59..932efd66ddea 100644 --- a/sc/qa/unit/ucalc_pivottable.cxx +++ b/sc/qa/unit/ucalc_pivottable.cxx @@ -2166,7 +2166,8 @@ void Test::testFuncGETPIVOTDATA() pDPObj = createDPFromRange(m_pDoc, aDataRange, aFields, SAL_N_ELEMENTS(aFields), false); } - pDPs->InsertNewTable(pDPObj); + bSuccess = pDPs->InsertNewTable(pDPObj); + CPPUNIT_ASSERT_MESSAGE("InsertNewTable failed", bSuccess); aOutRange = refresh(pDPObj); { |