summaryrefslogtreecommitdiff
path: root/dw/textblock.cc
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2016-01-03 14:05:11 +0100
committerSebastian Geerken <devnull@localhost>2016-01-03 14:05:11 +0100
commit85ed5cc02e6787450cbeb7cecdd5560c9616e6d0 (patch)
treed889665d57f70aecb6c01eaf8fceb59f02c292dd /dw/textblock.cc
parent17043e7f6c74e756c24347f40a9701ac10e6acbf (diff)
Fix (first half of) problem with "clear" position.
Diffstat (limited to 'dw/textblock.cc')
-rw-r--r--dw/textblock.cc2
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));