summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-12-11 20:47:48 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-12-11 20:47:48 +0000
commit6aa1232e17b84c38bb411014315c3b3a2c35dff5 (patch)
tree16fbe1263e1fda5485e695e45459d260611ed132 /sw
parente830390562fa6e772022391eceb8652191b4a020 (diff)
coverity#1257737 Dereference null return value
Change-Id: Idc4dfb74734f1203586b04ea86a05905f5dac694
Diffstat (limited to 'sw')
-rw-r--r--sw/qa/extras/globalfilter/globalfilter.cxx1
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" )
{