diff options
Diffstat (limited to 'dw/textblock.cc')
-rw-r--r-- | dw/textblock.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/dw/textblock.cc b/dw/textblock.cc index 47f7d7b7..92e59c59 100644 --- a/dw/textblock.cc +++ b/dw/textblock.cc @@ -492,7 +492,8 @@ void Textblock::sizeAllocateImpl (core::Allocation *allocation) showMissingLines (); - containingBlock->outOfFlowMgr->sizeAllocateStart (this, allocation); + if (containingBlock->outOfFlowMgr) + containingBlock->outOfFlowMgr->sizeAllocateStart (this, allocation); int lineIndex, wordIndex; Line *line; @@ -590,7 +591,8 @@ void Textblock::sizeAllocateImpl (core::Allocation *allocation) } } - containingBlock->outOfFlowMgr->sizeAllocateEnd (this); + if (containingBlock->outOfFlowMgr) + containingBlock->outOfFlowMgr->sizeAllocateEnd (this); for (int i = 0; i < anchors->size(); i++) { Anchor *anchor = anchors->getRef(i); |