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