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

coverity#1272391 Dereference null return value

Change-Id: Id1c5a498ff5c25eefe2573e695f66d8922213f92
üst 9e6c2369
......@@ -262,6 +262,7 @@ void GraphicObjectTest::testTdf88935()
if( aNodes[nIndex]->IsGrfNode() )
{
SwGrfNode* pGrfNode = aNodes[nIndex]->GetGrfNode();
CPPUNIT_ASSERT(pGrfNode);
if( !pGraphObj1 )
{
pGraphObj1 = &pGrfNode->GetGrfObj();
......
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