diff options
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/txtnode/ndtxt.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/txtnode/ndtxt.cxx b/sw/source/core/txtnode/ndtxt.cxx index a02e880e8bd9..24db0556160f 100644 --- a/sw/source/core/txtnode/ndtxt.cxx +++ b/sw/source/core/txtnode/ndtxt.cxx @@ -4274,7 +4274,7 @@ void SwTextNode::AddToList() } SwList *const pList(FindList(this)); - if (pList) + if (pList && GetNodes().IsDocNodes()) // not for undo nodes { assert(!mpNodeNum); mpNodeNum = new SwNodeNum(this, false); |