diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2022-04-01 10:43:47 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-04-01 12:47:01 +0200 |
commit | e628a532d227a59f9d25d254037d0976a9fb73dc (patch) | |
tree | d1b89c1acc5fe6d87cd2956a9c1f04aaab14575c /sw | |
parent | e60726891761ca29dcb72e27f075fef75a990c24 (diff) |
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.grandin@collabora.co.uk>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/access/accdoc.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
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 ) ) |