sw/source/core/docnode/swbaslnk.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b7e139fa21607f488465fd87333db757ad0c91a2
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Thu Jul 19 16:27:30 2018 +0100
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Thu Jul 19 22:17:42 2018 +0200

    coverity#1078573 Explicit null dereferenced
    
    since...
    
    commit 7581730b2795a58d4fe6868e2f61572a91fde293
    Date:   Wed May 23 17:36:44 2018 +0900
    
        tdf#117247 just send a GRAPHIC_ARRIVED hint after update
    
    Change-Id: Id1a2a3bb25649f3f8e60d7edf79e5fd217b9e72f
    Reviewed-on: https://gerrit.libreoffice.org/57736
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caol...@redhat.com>
    Tested-by: Caolán McNamara <caol...@redhat.com>

diff --git a/sw/source/core/docnode/swbaslnk.cxx 
b/sw/source/core/docnode/swbaslnk.cxx
index 5d38d9371efb..27f30ba05d9f 100644
--- a/sw/source/core/docnode/swbaslnk.cxx
+++ b/sw/source/core/docnode/swbaslnk.cxx
@@ -173,7 +173,7 @@ static void lcl_CallModify( SwGrfNode& rGrfNd, SfxPoolItem& 
rItem )
     if ( !bUpdate || bFrameInPaint )
         return SUCCESS;
 
-    if (bUpdate)
+    if (bUpdate && pSwGrfNode)
     {
         if (!SetGrfFlySize(aGrfSz, pSwGrfNode, aOldSz))
         {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to