diff options
author | Sebastian Geerken <devnull@localhost> | 2014-03-14 23:08:48 +0100 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2014-03-14 23:08:48 +0100 |
commit | b1fea841ec6e08e0ade271d340cf91d8f40551bf (patch) | |
tree | dc8cf888ea6cca0b2af7df78fd3c83c937ae71fa /dw/textblock.cc | |
parent | 96a0181e59a9555c4953d59432e986cf23ea8bfc (diff) |
RTFL.
Diffstat (limited to 'dw/textblock.cc')
-rw-r--r-- | dw/textblock.cc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/dw/textblock.cc b/dw/textblock.cc index 2a8b76c8..c7b46286 100644 --- a/dw/textblock.cc +++ b/dw/textblock.cc @@ -1676,12 +1676,18 @@ void Textblock::draw (core::View *view, core::Rectangle *area) Textblock::Word *Textblock::addWord (int width, int ascent, int descent, short flags, core::style::Style *style) { + DBG_OBJ_MSGF ("construct.word", 0, "<b>addWord</b> (%d * (%d + %d), %d, %p)", + width, ascent, descent, flags, style); + DBG_OBJ_MSG_START (); + words->increase (); DBG_OBJ_SET_NUM ("words.size", words->size ()); int wordNo = words->size () - 1; initWord (wordNo); fillWord (wordNo, width, ascent, descent, flags, style); - return words->getRef (wordNo);; + + DBG_OBJ_MSG_END (); + return words->getRef (wordNo); } /** |