Kaydet (Commit) 0de06872 authored tarafından Michael Stahl's avatar Michael Stahl

sw_redlinehide_2: DelFrames is called for hidden nodes too now

Change-Id: I9933d8b8ee29bb4da74819d7d2350a5b2b04aa09
üst e0850bc1
...@@ -4333,8 +4333,11 @@ static void UnHideRedlines(SwRootFrame & rLayout, ...@@ -4333,8 +4333,11 @@ static void UnHideRedlines(SwRootFrame & rLayout,
{ {
if (rNode.IsContentNode()) if (rNode.IsContentNode())
{ {
// note: no-op for NonFirst nodes, only Hidden will delete // note: nothing to do here, already done
static_cast<SwContentNode&>(rNode).DelFrames(&rLayout); #ifndef NDEBUG
auto const pFrame(static_cast<SwContentNode&>(rNode).getLayoutFrame(&rLayout));
assert(!pFrame || static_cast<SwTextFrame*>(pFrame)->GetMergedPara()->pFirstNode != &rNode);
#endif
} }
else if (rNode.IsTableNode()) else if (rNode.IsTableNode())
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment