aboutsummaryrefslogtreecommitdiff
path: root/dw/textblock.hh
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2016-04-02 22:48:21 +0200
committerSebastian Geerken <devnull@localhost>2016-04-02 22:48:21 +0200
commit70b9f2b70d9f0c0f48d2ae649023ea3ae5271367 (patch)
tree41c998067cde197225621171b0ab096734e5812e /dw/textblock.hh
parent639fbbfd350e32ab128482078d83a05a3f208983 (diff)
Content with type WIDGET_OOF_REF now refers to new class WidgetReference.
Diffstat (limited to 'dw/textblock.hh')
-rw-r--r--dw/textblock.hh7
1 files changed, 5 insertions, 2 deletions
diff --git a/dw/textblock.hh b/dw/textblock.hh
index 91ecbd7a..f78be2df 100644
--- a/dw/textblock.hh
+++ b/dw/textblock.hh
@@ -940,9 +940,11 @@ public:
words->getRef(n)->content.widget); \
break; \
case ::dw::core::Content::WIDGET_OOF_REF: \
+ /* It would be nice to show also parentRef. */ \
DBG_OBJ_ARRATTRSET_SYM ("words", n, "type", "WIDGET_OOF_REF"); \
DBG_OBJ_ARRATTRSET_PTR ("words", n, "text/widget/breakSpace", \
- words->getRef(n)->content.widget); \
+ words->getRef(n) \
+ ->content.widgetReference->widget); \
break; \
case ::dw::core::Content::BREAK: \
DBG_OBJ_ARRATTRSET_SYM ("words", n, "type", "BREAK"); \
@@ -982,8 +984,9 @@ public:
words->getRef(n)->content.widget); \
break; \
case ::dw::core::Content::WIDGET_OOF_REF: \
+ /* It would be nice to show also parentRef. */ \
DBG_OBJ_MSGF (aspect, prio, prefix "WIDGET_OOF_REF / %p" suffix, \
- words->getRef(n)->content.widget); \
+ words->getRef(n)->content.widgetReference->widget); \
break; \
case ::dw::core::Content::BREAK: \
DBG_OBJ_MSGF (aspect, prio, prefix "BREAK / %d" suffix, \