sw/source/core/docnode/ndtbl.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 788e36d514260413633e03fc7c47cb390e867176
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Wed Mar 15 20:05:33 2023 +0000
Commit:     Adolfo Jayme Barrientos <fit...@ubuntu.com>
CommitDate: Sun Mar 26 01:29:23 2023 +0000

    Related: tdf#154205 skip Invalidating content a11y relations when closing 
doc
    
    Change-Id: If6dbc02f1ec22be9f020290572199f89548c76e1
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148939
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caol...@redhat.com>
    (cherry picked from commit 67d353ff50712a036d04b1c0ffab68f2a21b5008)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149500
    Reviewed-by: Adolfo Jayme Barrientos <fit...@ubuntu.com>

diff --git a/sw/source/core/docnode/ndtbl.cxx b/sw/source/core/docnode/ndtbl.cxx
index b5ad93d28a90..30eab0bf5ece 100644
--- a/sw/source/core/docnode/ndtbl.cxx
+++ b/sw/source/core/docnode/ndtbl.cxx
@@ -2445,6 +2445,7 @@ void SwTableNode::DelFrames(SwRootFrame const*const 
pLayout)
                 // Relation CONTENT_FLOWS_FROM for current next paragraph will 
change
                 // and relation CONTENT_FLOWS_TO for current previous 
paragraph will change.
 #if !ENABLE_WASM_STRIP_ACCESSIBILITY
+                if (!GetDoc().IsInDtor())
                 {
                     SwViewShell* pViewShell( 
pFrame->getRootFrame()->GetCurrShell() );
                     if ( pViewShell && pViewShell->GetLayout() &&

Reply via email to