Kaydet (Commit) d63a7f1b authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1244942 Dereference null return value

Change-Id: I50e453bf9e31f4afc60096ad3888062c365f54c6
üst b3ac9676
...@@ -6072,6 +6072,7 @@ void Test::testFormulaToValue() ...@@ -6072,6 +6072,7 @@ void Test::testFormulaToValue()
// C3:C8 should be shared formula cells. // C3:C8 should be shared formula cells.
pFC = m_pDoc->GetFormulaCell(ScAddress(2,2,0)); pFC = m_pDoc->GetFormulaCell(ScAddress(2,2,0));
CPPUNIT_ASSERT(pFC);
CPPUNIT_ASSERT(pFC->GetSharedTopRow() == 2); CPPUNIT_ASSERT(pFC->GetSharedTopRow() == 2);
CPPUNIT_ASSERT(pFC->GetSharedLength() == 6); CPPUNIT_ASSERT(pFC->GetSharedLength() == 6);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment