coverity#1257737 Dereference null return value

Change-Id: Idc4dfb74734f1203586b04ea86a05905f5dac694
This commit is contained in:
Caolán McNamara
2014-12-11 20:47:48 +00:00
parent e830390562
commit 6aa1232e17

View File

@@ -165,6 +165,7 @@ void Test::testLinkedGraphicRT()
if( aNodes[nIndex]->IsGrfNode() )
{
SwGrfNode* pGrfNode = aNodes[nIndex]->GetGrfNode();
CPPUNIT_ASSERT(pGrfNode);
// RT via DOCX makes linked graphic embedded?!
if( aFilterNames[nFilter] != "Office Open XML Text" )
{