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

coverity#704702 Dereference after null check

Change-Id: Ie87a6e27a399b2c758e160eed1ab0f4b1704b5cd
üst 16c4dcf4
......@@ -517,7 +517,7 @@ bool FuSelection::MouseButtonUp(const MouseEvent& rMEvt)
SdrViewEvent aVEvt;
SdrHitKind eHit = pView->PickAnything( rMEvt, SDRMOUSEBUTTONDOWN, aVEvt );
if ( eHit != SDRHIT_NONE && aVEvt.pObj == pObj )
if (eHit != SDRHIT_NONE && aVEvt.pObj == pObj && pViewShell)
{
sal_uInt16 nSdrObjKind = pObj->GetObjIdentifier();
......
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