summaryrefslogtreecommitdiff
path: root/sw/source/core/layout/wsfrm.cxx
diff options
context:
space:
mode:
authorMichael Stahl <Michael.Stahl@cib.de>2018-09-06 17:51:46 +0200
committerMichael Stahl <Michael.Stahl@cib.de>2018-09-19 10:18:31 +0200
commit28382b92ca917697a60aa228cbb416d9cca4bb98 (patch)
treeddf39893c380f0a902412a4722204612628e82cf /sw/source/core/layout/wsfrm.cxx
parent3230baca58db9c78109a3c208afd7d19fe912f16 (diff)
sw_redlinehide_2: do all frame deletion in CheckParaRedlineMerge()
Other callers need this too, particularly Undo, so move this into the function so it's done once. Change-Id: I58e89899127650157fe2889929c1c6b47c00649b
Diffstat (limited to 'sw/source/core/layout/wsfrm.cxx')
-rw-r--r--sw/source/core/layout/wsfrm.cxx8
1 files changed, 0 insertions, 8 deletions
diff --git a/sw/source/core/layout/wsfrm.cxx b/sw/source/core/layout/wsfrm.cxx
index dd35c172c4b6..23a726218d52 100644
--- a/sw/source/core/layout/wsfrm.cxx
+++ b/sw/source/core/layout/wsfrm.cxx
@@ -4355,14 +4355,6 @@ static void UnHideRedlines(SwRootFrame & rLayout,
assert(!pFrame || static_cast<SwTextFrame*>(pFrame)->GetMergedPara()->pFirstNode != &rNode);
#endif
}
- else if (rNode.IsTableNode())
- {
- static_cast<SwTableNode&>(rNode).DelFrames(&rLayout);
- }
- else if (rNode.IsSectionNode())
- {
- static_cast<SwSectionNode&>(rNode).DelFrames(&rLayout);
- }
}
else
{