[Libreoffice-commits] core.git: sw/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Sun Aug 2 15:14:10 UTC 2020


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

New commits:
commit 9445a5633b167c84eb96c515f3ae765ab427442a
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sun Aug 2 15:23:54 2020 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Sun Aug 2 17:13:32 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 <caolanm at redhat.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() )
     {


More information about the Libreoffice-commits mailing list