summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-01-03 14:53:19 +0000
committerCaolán McNamara <caolanm@redhat.com>2020-01-03 19:28:31 +0100
commit36c0dd46943f16e1c83f9322df616212f9dce864 (patch)
tree0a17d884e1d72c393776af91d6aa31b5939d60ba /sd
parent027ce9c31c92d029c3e86d1a6bd2f4a71963a6e5 (diff)
cid#1456606 Dereference after null check
Change-Id: Ic1467982a7366db6266eaab3e08ca52f2785bac4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86181 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/func/futext.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/func/futext.cxx b/sd/source/ui/func/futext.cxx
index 3523a5efef69..f26d25504722 100644
--- a/sd/source/ui/func/futext.cxx
+++ b/sd/source/ui/func/futext.cxx
@@ -195,7 +195,7 @@ void FuText::DoExecute( SfxRequest& )
SdrViewEvent aVEvt;
mpView->PickAnything(aMEvt, SdrMouseEventKind::BUTTONDOWN, aVEvt);
mpView->MarkObj(aVEvt.pRootObj, pPV);
- if (comphelper::LibreOfficeKit::isActive() && mpViewShell && mpViewShell->GetDocSh())
+ if (comphelper::LibreOfficeKit::isActive() && mpViewShell->GetDocSh())
mpViewShell->GetDocSh()->SetModified();
mxTextObj.reset( dynamic_cast< SdrTextObj* >( aVEvt.pObj ) );