| commit | 48f48eea8a57d0da9defae77d9fc51dfe84bcfca | [log] |
|---|---|---|
| author | Caolán McNamara <caolanm@redhat.com> | Sun Aug 02 15:23:54 2020 +0100 |
| committer | Adolfo Jayme Barrientos <fitojb@ubuntu.com> | Mon Aug 03 06:37:59 2020 +0200 |
| tree | e0c81c760ba0879186c3ba7f47b8cbc204674bbd | |
| parent | e8d5b291f6c334c01bdd40301118f86b04708512 [diff] |
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@redhat.com> (cherry picked from commit 9445a5633b167c84eb96c515f3ae765ab427442a) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99915 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
diff --git a/sw/source/core/access/acccell.cxx b/sw/source/core/access/acccell.cxx index f7d689a..ee53363 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() ) {