diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-06 11:47:30 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-06 16:35:45 +0000 |
commit | 5d81ffe587f8d54efc077facdd61214a5329a322 (patch) | |
tree | 389639b7ae87f9cf9952ac5b1be10b3a214be5b1 /sc | |
parent | 93e94cd73992b42748708826fff6429933aa793b (diff) |
coverity#1190355 Dereference null return value
Change-Id: I6b93bed49a9d094b9988060ac3b0c9c1551ee4cb
Diffstat (limited to 'sc')
-rw-r--r-- | sc/qa/unit/ucalc_sharedformula.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/qa/unit/ucalc_sharedformula.cxx b/sc/qa/unit/ucalc_sharedformula.cxx index 677b0e20006e..ae1ad588c20c 100644 --- a/sc/qa/unit/ucalc_sharedformula.cxx +++ b/sc/qa/unit/ucalc_sharedformula.cxx @@ -565,6 +565,7 @@ void Test::testSharedFormulasDeleteColumns() pUndoMgr->Undo(); CPPUNIT_ASSERT_EQUAL(11.0, m_pDoc->GetValue(ScAddress(2,0,0))); pFC = m_pDoc->GetFormulaCell(ScAddress(2,0,0)); + CPPUNIT_ASSERT(pFC); CPPUNIT_ASSERT_EQUAL(OUString("=B1"), pFC->GetFormula(aCFCxt)); // Clear row 1 and move over to a formula group case. |