diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-10-10 09:21:22 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-10-10 12:50:17 +0100 |
commit | d63a7f1b91c3ea9d88e6f12cf0244dfe003a9729 (patch) | |
tree | 56cc704570981b3c40400e7ae8c5c5f65dca5697 /sc | |
parent | b3ac9676143f5beed532455832f67540ff353d13 (diff) |
coverity#1244942 Dereference null return value
Change-Id: I50e453bf9e31f4afc60096ad3888062c365f54c6
Diffstat (limited to 'sc')
-rw-r--r-- | sc/qa/unit/ucalc.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/qa/unit/ucalc.cxx b/sc/qa/unit/ucalc.cxx index 415cca51a174..19d13a399f63 100644 --- a/sc/qa/unit/ucalc.cxx +++ b/sc/qa/unit/ucalc.cxx @@ -6072,6 +6072,7 @@ void Test::testFormulaToValue() // C3:C8 should be shared formula cells. pFC = m_pDoc->GetFormulaCell(ScAddress(2,2,0)); + CPPUNIT_ASSERT(pFC); CPPUNIT_ASSERT(pFC->GetSharedTopRow() == 2); CPPUNIT_ASSERT(pFC->GetSharedLength() == 6); |