coverity#1244942 Dereference null return value

Change-Id: I50e453bf9e31f4afc60096ad3888062c365f54c6
This commit is contained in:
Caolán McNamara
2014-10-10 09:21:22 +01:00
parent b3ac967614
commit d63a7f1b91

View File

@@ -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);