summaryrefslogtreecommitdiff
path: root/sw/source/core/txtnode
diff options
context:
space:
mode:
authorMichael Stahl <Michael.Stahl@cib.de>2018-10-19 15:08:01 +0200
committerMichael Stahl <Michael.Stahl@cib.de>2018-11-15 15:10:00 +0100
commitccac1f179d0f6ed9c5ba5ac2d29070c4e62b7e1e (patch)
tree9ce02e933e3a0135446870b649a048c29326a3cc /sw/source/core/txtnode
parent26ce48bf407b0a027db70022bf95c0f98fe46c17 (diff)
sw_redlinehide_3: add flag to SwNodeNum
Disable the NumRule/DocumentListsItemManager manipulations on the second tree; only the "main" tree does that. Change-Id: I0da8ced53f8d55758e3c02fd24b9253bbf603b38
Diffstat (limited to 'sw/source/core/txtnode')
-rw-r--r--sw/source/core/txtnode/ndtxt.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/txtnode/ndtxt.cxx b/sw/source/core/txtnode/ndtxt.cxx
index 9638231a2ed9..f66dd2ab7d4e 100644
--- a/sw/source/core/txtnode/ndtxt.cxx
+++ b/sw/source/core/txtnode/ndtxt.cxx
@@ -3961,7 +3961,7 @@ SwNodeNum* SwTextNode::CreateNum() const
{
if ( !mpNodeNum )
{
- mpNodeNum = new SwNodeNum( const_cast<SwTextNode*>(this) );
+ mpNodeNum = new SwNodeNum( const_cast<SwTextNode*>(this), false );
}
return mpNodeNum;
}
@@ -4258,7 +4258,7 @@ void SwTextNode::AddToList()
if (pList)
{
assert(!mpNodeNum);
- mpNodeNum = new SwNodeNum(this);
+ mpNodeNum = new SwNodeNum(this, false);
pList->InsertListItem(*mpNodeNum, false, GetAttrListLevel());
}
}