sw/source/core/access/accdoc.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit e628a532d227a59f9d25d254037d0976a9fb73dc Author: Noel Grandin <noelgran...@gmail.com> AuthorDate: Fri Apr 1 10:43:47 2022 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Fri Apr 1 12:47:01 2022 +0200 tdf#147967 macos crash on insert formula blind fix Change-Id: I9a835d308f3809da874ee327afe70b9547ca8910 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132403 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/sw/source/core/access/accdoc.cxx b/sw/source/core/access/accdoc.cxx index e73e4e951acc..4eb719242517 100644 --- a/sw/source/core/access/accdoc.cxx +++ b/sw/source/core/access/accdoc.cxx @@ -322,6 +322,8 @@ uno::Reference< XAccessible > SAL_CALL SwAccessibleDocumentBase::getAccessibleAt { throw uno::RuntimeException("no Window", static_cast<cppu::OWeakObject*>(this)); } + if (pWin->isDisposed()) // tdf#147967 + return nullptr; Point aPixPoint( aPoint.X, aPoint.Y ); // px rel to window if( mpChildWin->GetWindowExtentsRelative( pWin ).Contains( aPixPoint ) )