summaryrefslogtreecommitdiff
path: root/sw/source/core/layout/wsfrm.cxx
diff options
context:
space:
mode:
authorMichael Stahl <Michael.Stahl@cib.de>2018-07-31 19:11:16 +0200
committerMichael Stahl <Michael.Stahl@cib.de>2018-09-19 10:18:23 +0200
commit6182e030417bb48f767203957bab1cb48fa18b14 (patch)
tree480380a4c544fa2c2b9c6e7450bd05b59875b4af /sw/source/core/layout/wsfrm.cxx
parent695d995c3006a7125e5733b76347d327d137d3bd (diff)
sw_redlinehide_2: add layout parameter to *Node::DelFrames
A trivial patch to remove some FIXMEs; unfortunately one new FIXME because the SwSectionNode case isn't entirely trivial. Change-Id: I94f11ffd19b189b165ad1fb05488ba8617e81357
Diffstat (limited to 'sw/source/core/layout/wsfrm.cxx')
-rw-r--r--sw/source/core/layout/wsfrm.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/layout/wsfrm.cxx b/sw/source/core/layout/wsfrm.cxx
index 24f8e5cea971..52ffc1b1f5bd 100644
--- a/sw/source/core/layout/wsfrm.cxx
+++ b/sw/source/core/layout/wsfrm.cxx
@@ -4220,15 +4220,15 @@ static void UnHideRedlines(SwRootFrame & rLayout,
if (rNode.IsContentNode())
{
// note: no-op for NonFirst nodes, only Hidden will delete
- static_cast<SwContentNode&>(rNode).DelFrames(); // FIXME only those in this layout?
+ static_cast<SwContentNode&>(rNode).DelFrames(&rLayout);
}
else if (rNode.IsTableNode())
{
- static_cast<SwTableNode&>(rNode).DelFrames(); // FIXME only those in this layout?
+ static_cast<SwTableNode&>(rNode).DelFrames(&rLayout);
}
else if (rNode.IsSectionNode())
{
- static_cast<SwSectionNode&>(rNode).DelFrames(); // FIXME only those in this layout?
+ static_cast<SwSectionNode&>(rNode).DelFrames(&rLayout);
}
}
else