summaryrefslogtreecommitdiff
path: root/sw/source/core/txtnode/ndtxt.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/txtnode/ndtxt.cxx')
-rw-r--r--sw/source/core/txtnode/ndtxt.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/core/txtnode/ndtxt.cxx b/sw/source/core/txtnode/ndtxt.cxx
index 71b046aa9225..e1df1ea4dea9 100644
--- a/sw/source/core/txtnode/ndtxt.cxx
+++ b/sw/source/core/txtnode/ndtxt.cxx
@@ -4291,8 +4291,7 @@ void SwTextNode::AddToList()
{
if (pFrame->getRootFrame()->IsHideRedlines())
{
- sw::MergedPara const*const pMerged = pFrame->GetMergedPara();
- if (!pMerged || this == pMerged->pParaPropsNode)
+ if (pFrame->GetTextNodeForParaProps() == this)
{
AddToListRLHidden();
}