summaryrefslogtreecommitdiff
path: root/dw/textblock_linebreaking.cc
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2015-01-31 13:18:40 +0100
committerSebastian Geerken <devnull@localhost>2015-01-31 13:18:40 +0100
commite1eaf4d64bcafcd5b2f50153dd7db0106223012c (patch)
treed3d6bf5ea9a4f24a114aca0a22fc647c26a9c254 /dw/textblock_linebreaking.cc
parent208e945879abab22c48f053ecc854b73603c9b88 (diff)
Some RTFL.
Diffstat (limited to 'dw/textblock_linebreaking.cc')
-rw-r--r--dw/textblock_linebreaking.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/dw/textblock_linebreaking.cc b/dw/textblock_linebreaking.cc
index 719389a6..974d64f4 100644
--- a/dw/textblock_linebreaking.cc
+++ b/dw/textblock_linebreaking.cc
@@ -1917,6 +1917,7 @@ void Textblock::rewrap ()
switch (word->content.type) {
case core::Content::WIDGET_IN_FLOW:
word->content.widget->sizeRequest (&word->size);
+ DBG_SET_WORD_SIZE (i);
break;
case core::Content::WIDGET_OOF_REF:
@@ -1924,6 +1925,7 @@ void Textblock::rewrap ()
int oofmIndex = getOOFMIndex (word->content.widget);
oof::OutOfFlowMgr *oofm = searchOutOfFlowMgr (oofmIndex);
oofm->calcWidgetRefSize (word->content.widget, &(word->size));
+ DBG_SET_WORD_SIZE (i);
}
break;