sw/source/core/access/acccell.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 48f48eea8a57d0da9defae77d9fc51dfe84bcfca
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Sun Aug 2 15:23:54 2020 +0100
Commit:     Adolfo Jayme Barrientos <fit...@ubuntu.com>
CommitDate: Mon Aug 3 06:37:59 2020 +0200

    tdf#135098 assert/crash on checking IsSelected on cell being disposed
    
    Change-Id: I32ce9fcca86de4608939d385f42c43afc46bfb7d
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99956
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caol...@redhat.com>
    (cherry picked from commit 9445a5633b167c84eb96c515f3ae765ab427442a)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99915
    Reviewed-by: Adolfo Jayme Barrientos <fit...@ubuntu.com>

diff --git a/sw/source/core/access/acccell.cxx 
b/sw/source/core/access/acccell.cxx
index f7d689a62980..ee533636e29d 100644
--- a/sw/source/core/access/acccell.cxx
+++ b/sw/source/core/access/acccell.cxx
@@ -86,6 +86,9 @@ void SwAccessibleCell::GetStates( 
::utl::AccessibleStateSetHelper& rStateSet )
     //Add resizable state to table cell.
     rStateSet.AddState( AccessibleStateType::RESIZABLE );
 
+    if (IsDisposing()) // tdf#135098
+        return;
+
     // SELECTED
     if( IsSelected() )
     {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to