diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-06-15 14:51:48 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-06-15 16:56:18 +0200 |
commit | 596a909059606c47d87985ae2d32e7d40cdaab24 (patch) | |
tree | c4ec2645746b5b81a1691e26d20b74be4a07352c /sc | |
parent | 78dc7d982b65c1843a288b80da83f8766e85d0cf (diff) |
rhbz#1847031 null-deref
Change-Id: Ic9327788ebf49ac1ab0d3463f2f1e4d87ef14cb3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96364
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/app/transobj.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/app/transobj.cxx b/sc/source/ui/app/transobj.cxx index 289217103785..fd75eeac6486 100644 --- a/sc/source/ui/app/transobj.cxx +++ b/sc/source/ui/app/transobj.cxx @@ -179,7 +179,7 @@ ScTransferObj::~ScTransferObj() SolarMutexGuard aSolarGuard; ScModule* pScMod = SC_MOD(); - if ( pScMod->GetDragData().pCellTransfer == this ) + if (pScMod && pScMod->GetDragData().pCellTransfer == this) { OSL_FAIL("ScTransferObj wasn't released"); pScMod->ResetDragObject(); |