summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/source/core/docnode/ndtbl.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/core/docnode/ndtbl.cxx b/sw/source/core/docnode/ndtbl.cxx
index 42c62bc9f802..b182407db8ef 100644
--- a/sw/source/core/docnode/ndtbl.cxx
+++ b/sw/source/core/docnode/ndtbl.cxx
@@ -1928,7 +1928,8 @@ void SwDoc::DelTable(SwTableNode *const pTableNd)
{
{
// tdf#156267 remove DdeBookmarks before deleting nodes
- SwDataChanged aTmp(SwPaM(*pTableNd, *pTableNd->EndOfSectionNode()));
+ SwPaM aTmpPaM(*pTableNd, *pTableNd->EndOfSectionNode());
+ SwDataChanged aTmp(aTmpPaM);
}
bool bNewTextNd = false;