diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-08 16:00:55 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-08 16:26:28 +0100 |
commit | f36d55edf7cf2118184ff21db5f95291572b9d02 (patch) | |
tree | 819a6967a197f5e1ebd3a10e6cffdf7d96ab63ad /sd/source/ui/view/sdview2.cxx | |
parent | 7f8f6291af814b5e2275b5b98b1221bd1fda571e (diff) |
coverity#704785 Dereference after null check
Change-Id: I5ac5d5d693e8adfbeff4a60cf94c90f181986294
Diffstat (limited to 'sd/source/ui/view/sdview2.cxx')
-rw-r--r-- | sd/source/ui/view/sdview2.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/view/sdview2.cxx b/sd/source/ui/view/sdview2.cxx index c65f7cb36d4b..8300a2415fec 100644 --- a/sd/source/ui/view/sdview2.cxx +++ b/sd/source/ui/view/sdview2.cxx @@ -198,7 +198,7 @@ struct SdNavigatorDropEvent : public ExecuteDropEvent if( pSdrOleObj ) SvEmbedTransferHelper::FillTransferableObjectDescriptor( aObjDesc, pSdrOleObj->GetObjRef(), pSdrOleObj->GetGraphic(), pSdrOleObj->GetAspect() ); - else + else if (mpDocSh) mpDocSh->FillTransferableObjectDescriptor( aObjDesc ); aObjDesc.maSize = GetAllMarkedRect().GetSize(); |