sd/source/ui/view/sdview.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ea1279d7f7b3176f37515951782a51327f233591
Author: Caolán McNamara <caol...@redhat.com>
Date:   Sat Jun 2 19:53:48 2018 +0100

    coverity#1435913 Dereference after null check
    
    Change-Id: Ieaf1eeee7be375c9381070d7141f6366b0bec7a3
    Reviewed-on: https://gerrit.libreoffice.org/55218
    Reviewed-by: Caolán McNamara <caol...@redhat.com>
    Tested-by: Caolán McNamara <caol...@redhat.com>

diff --git a/sd/source/ui/view/sdview.cxx b/sd/source/ui/view/sdview.cxx
index becfb5749613..835f9fcf9afb 100644
--- a/sd/source/ui/view/sdview.cxx
+++ b/sd/source/ui/view/sdview.cxx
@@ -699,7 +699,7 @@ bool View::SdrBeginTextEdit(
     {
         
mpViewSh->GetViewShellBase().GetDrawController().FireSelectionChangeListener();
 
-        if (pObj->GetObjIdentifier() == OBJ_TABLE)
+        if (pObj && pObj->GetObjIdentifier() == OBJ_TABLE)
             mpViewSh->UpdateScrollBars();
 
         if (comphelper::LibreOfficeKit::isActive())
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to