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

coverity#1255389 Dereference null return value

Change-Id: I3b2a4e69a1c86d9b9ce9f51d6f321bda9e18f8b5
üst cdf75729
......@@ -168,6 +168,7 @@ void GraphicObjectTest::testSizeBasedAutoSwap()
if( aNodes[nIndex]->IsGrfNode() )
{
SwGrfNode* pGrfNode = aNodes[nIndex]->GetGrfNode();
CPPUNIT_ASSERT(pGrfNode);
if( !pGrafObj1 )
{
pGrafObj1 = &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