diff options
author | Sebastian Geerken <devnull@localhost> | 2016-01-03 14:05:11 +0100 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2016-01-03 14:05:11 +0100 |
commit | 85ed5cc02e6787450cbeb7cecdd5560c9616e6d0 (patch) | |
tree | d889665d57f70aecb6c01eaf8fceb59f02c292dd /dw/textblock.cc | |
parent | 17043e7f6c74e756c24347f40a9701ac10e6acbf (diff) |
Fix (first half of) problem with "clear" position.
Diffstat (limited to 'dw/textblock.cc')
-rw-r--r-- | dw/textblock.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dw/textblock.cc b/dw/textblock.cc index 2dfb29bc..95b4f0c9 100644 --- a/dw/textblock.cc +++ b/dw/textblock.cc @@ -747,7 +747,7 @@ void Textblock::calcExtraSpaceImpl (bool vertical) if (vertical) { int clearPosition = 0; for (int i = 0; i < NUM_OOFM; i++) - if (searchOutOfFlowMgr (i)) + if (searchOutOfFlowMgr (i) && findSizeRequestReference (i, NULL, NULL)) clearPosition = misc::max (clearPosition, searchOutOfFlowMgr(i)->getClearPosition (this)); |