diff options
-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 ) ) |