summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2023-03-15 20:05:33 +0000
committerCaolán McNamara <caolanm@redhat.com>2023-03-16 13:08:20 +0000
commit67d353ff50712a036d04b1c0ffab68f2a21b5008 (patch)
tree6221c5e7d96ed84790a4233127c1251436fc6d77
parent12233f437e6299e6dcea3ee1490a80da2bef2372 (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>
-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 116ec8c6f62f..9f0a89ccad51 100644
--- a/sw/source/core/docnode/ndtbl.cxx
+++ b/sw/source/core/docnode/ndtbl.cxx
@@ -2429,6 +2429,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() &&