Kaydet (Commit) 532cd8a2 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#705515 Dereference null return value

Change-Id: I124dd8e5eacb54194f07fe867916da82d74d8f6f
üst 9e8001eb
...@@ -201,7 +201,7 @@ void SwXMLTextParagraphExport::setTextEmbeddedGraphicURL( ...@@ -201,7 +201,7 @@ void SwXMLTextParagraphExport::setTextEmbeddedGraphicURL(
return; return;
SwGrfNode *pGrfNd = GetNoTxtNode( rPropSet )->GetGrfNode(); SwGrfNode *pGrfNd = GetNoTxtNode( rPropSet )->GetGrfNode();
if( !pGrfNd->IsGrfLink() ) if (pGrfNd && !pGrfNd->IsGrfLink())
{ {
// #i15411# save-as will swap all graphics in; we need to swap // #i15411# save-as will swap all graphics in; we need to swap
// them out again, to prevent excessive memory use // them out again, to prevent excessive memory use
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment