sc/source/ui/app/transobj.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 8718d243edc9400b0e0131b096702af8d33df327 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Mon Jun 15 14:51:48 2020 +0100 Commit: Michael Stahl <michael.st...@cib.de> CommitDate: Tue Jun 16 11:15:40 2020 +0200 rhbz#1847031 null-deref Change-Id: Ic9327788ebf49ac1ab0d3463f2f1e4d87ef14cb3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96339 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.st...@cib.de> diff --git a/sc/source/ui/app/transobj.cxx b/sc/source/ui/app/transobj.cxx index 88f80d77f272..2730ec0c1f93 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(); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits