diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-13 11:13:18 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-13 14:03:26 +0000 |
commit | 532cd8a2b5a73455e23ec16beb8835bf4552181f (patch) | |
tree | 762eeea48aded8bf0f12abe90283431cc979c4ea /sw/source | |
parent | 9e8001eb2c41ea79592f6975b8c3e904d7ce1175 (diff) |
coverity#705515 Dereference null return value
Change-Id: I124dd8e5eacb54194f07fe867916da82d74d8f6f
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/filter/xml/xmltexte.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/xml/xmltexte.cxx b/sw/source/filter/xml/xmltexte.cxx index e3612656635f..f3a41311a1f5 100644 --- a/sw/source/filter/xml/xmltexte.cxx +++ b/sw/source/filter/xml/xmltexte.cxx @@ -201,7 +201,7 @@ void SwXMLTextParagraphExport::setTextEmbeddedGraphicURL( return; SwGrfNode *pGrfNd = GetNoTxtNode( rPropSet )->GetGrfNode(); - if( !pGrfNd->IsGrfLink() ) + if (pGrfNd && !pGrfNd->IsGrfLink()) { // #i15411# save-as will swap all graphics in; we need to swap // them out again, to prevent excessive memory use |