From 6aa1232e17b84c38bb411014315c3b3a2c35dff5 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 11 Dec 2014 20:47:48 +0000 Subject: coverity#1257737 Dereference null return value Change-Id: Idc4dfb74734f1203586b04ea86a05905f5dac694 --- sw/qa/extras/globalfilter/globalfilter.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'sw') 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" ) { -- cgit