sw/source/uibase/uiview/viewdraw.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit 8ed4ac6152c96280616a784b47c4f75df147501a Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk> AuthorDate: Sat Mar 21 11:48:40 2020 -0400 Commit: Ashod Nakashian <ashnak...@gmail.com> CommitDate: Tue Mar 24 00:06:39 2020 +0100 sw: check for null SdrObject before accessing Change-Id: I30f1cc658450982232feea10dbe9c5bfefe07d91 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90896 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> Reviewed-by: Ashod Nakashian <ashnak...@gmail.com> diff --git a/sw/source/uibase/uiview/viewdraw.cxx b/sw/source/uibase/uiview/viewdraw.cxx index 62f2842f0cb0..94d1153ad460 100644 --- a/sw/source/uibase/uiview/viewdraw.cxx +++ b/sw/source/uibase/uiview/viewdraw.cxx @@ -665,6 +665,8 @@ bool SwView::AreOnlyFormsSelected() const { // Except controls, are still normal draw objects selected? SdrObject *pSdrObj = rMarkList.GetMark(i)->GetMarkedSdrObj(); + if (!pSdrObj) + continue; if (!HasOnlyObj(pSdrObj, SdrInventor::FmForm)) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits