diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-12-11 20:47:48 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-12-11 20:47:48 +0000 |
commit | 6aa1232e17b84c38bb411014315c3b3a2c35dff5 (patch) | |
tree | 16fbe1263e1fda5485e695e45459d260611ed132 | |
parent | e830390562fa6e772022391eceb8652191b4a020 (diff) |
coverity#1257737 Dereference null return value
Change-Id: Idc4dfb74734f1203586b04ea86a05905f5dac694
-rw-r--r-- | sw/qa/extras/globalfilter/globalfilter.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/qa/extras/globalfilter/globalfilter.cxx b/sw/qa/extras/globalfilter/globalfilter.cxx index 43b213be8148..49c01f9b879e 100644 --- a/sw/qa/extras/globalfilter/globalfilter.cxx +++ b/sw/qa/extras/globalfilter/globalfilter.cxx @@ -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" ) { |