aboutsummaryrefslogtreecommitdiff
path: root/dw/textblock_linebreaking.cc
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2014-11-17 20:25:01 +0100
committerSebastian Geerken <devnull@localhost>2014-11-17 20:25:01 +0100
commitf83977c78fb00b0c1d57235e4e9784af822d39ba (patch)
tree950d92a4f8c6ee791f3ea581366438edb2407b26 /dw/textblock_linebreaking.cc
parent474dc2e3c3f0a9443a86766067f021db08bfc741 (diff)
RTFL messages.
Diffstat (limited to 'dw/textblock_linebreaking.cc')
-rw-r--r--dw/textblock_linebreaking.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/dw/textblock_linebreaking.cc b/dw/textblock_linebreaking.cc
index 9a2a1a7c..4b181152 100644
--- a/dw/textblock_linebreaking.cc
+++ b/dw/textblock_linebreaking.cc
@@ -842,9 +842,8 @@ int Textblock::wrapWordInFlow (int wordIndex, bool wrapAll)
if (wordIndex >= firstWordWithoutLine) {
word->content.widget->parentRef =
OutOfFlowMgr::createRefNormalFlow (lines->size ());
- PRINTF ("The %s %p is assigned parentRef = %d.\n",
- word->content.widget->getClassName(), word->content.widget,
- word->content.widget->parentRef);
+ DBG_OBJ_SET_NUM_O (word->content.widget, "parentRef",
+ word->content.widget->parentRef);
}
}
@@ -1509,6 +1508,8 @@ void Textblock::accumulateWordForLine (int lineIndex, int wordIndex)
word->content.widget->parentRef =
OutOfFlowMgr::createRefNormalFlow (lineIndex);
+ DBG_OBJ_SET_NUM_O (word->content.widget, "parentRef",
+ word->content.widget->parentRef);
} else {
borderAscent = marginAscent = word->size.ascent;
borderDescent = marginDescent = word->size.descent;