[Libreoffice-commits] core.git: sd/source
Caolán McNamara
caolanm at redhat.com
Sat Jun 2 20:17:56 UTC 2018
sd/source/ui/view/sdview.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit ea1279d7f7b3176f37515951782a51327f233591
Author: Caolán McNamara <caolanm at 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 <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at 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())
More information about the Libreoffice-commits
mailing list