summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2023-03-15 20:05:33 +0000
committerAndras Timar <andras.timar@collabora.com>2023-04-03 00:53:15 +0200
commit9ae7a0a24838fe105e7a17c6262972e8f95984f3 (patch)
tree5d13ad217b561dd502b5c2f36fcb6921d0ab2ac1
parent4a802a954639f306e1cd2b1de5dd566a4b5c303f (diff)
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 <caolanm@redhat.com> (cherry picked from commit 67d353ff50712a036d04b1c0ffab68f2a21b5008) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149500 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
-rw-r--r--sw/source/core/docnode/ndtbl.cxx1
1 files changed, 1 insertions, 0 deletions
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() &&