summaryrefslogtreecommitdiff
path: root/sw/source/core/layout/ssfrm.cxx
diff options
context:
space:
mode:
authorMichael Stahl <Michael.Stahl@cib.de>2018-07-27 17:33:47 +0200
committerMichael Stahl <Michael.Stahl@cib.de>2018-09-19 10:18:21 +0200
commitef4dcea2e77ee7ac58df80d003ac098bb0d44a75 (patch)
tree5aa248fae834752c9d4e860e697f1d4b819a4450 /sw/source/core/layout/ssfrm.cxx
parent9e961fe6a2dd2d680ec42a200ddaabc0c31a69e5 (diff)
sw_redlinehide_2: assert that SwContentFrame is created only when allowed
Change-Id: I1b42b386eb7323dcbf40d4086276bd0a74d581b9
Diffstat (limited to 'sw/source/core/layout/ssfrm.cxx')
-rw-r--r--sw/source/core/layout/ssfrm.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/core/layout/ssfrm.cxx b/sw/source/core/layout/ssfrm.cxx
index e97b98e50a34..a5c4355fed1b 100644
--- a/sw/source/core/layout/ssfrm.cxx
+++ b/sw/source/core/layout/ssfrm.cxx
@@ -410,6 +410,7 @@ SwContentFrame::SwContentFrame( SwContentNode * const pContent, SwFrame* pSib )
SwFrame( pContent, pSib ),
SwFlowFrame( static_cast<SwFrame&>(*this) )
{
+ assert(!getRootFrame()->IsHideRedlines() || pContent->IsCreateFrameWhenHidingRedlines());
}
void SwContentFrame::DestroyImpl()