summaryrefslogtreecommitdiff
path: root/dw/textblock_linebreaking.cc
diff options
context:
space:
mode:
Diffstat (limited to 'dw/textblock_linebreaking.cc')
-rw-r--r--dw/textblock_linebreaking.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/dw/textblock_linebreaking.cc b/dw/textblock_linebreaking.cc
index 2a4f0b7c..66391952 100644
--- a/dw/textblock_linebreaking.cc
+++ b/dw/textblock_linebreaking.cc
@@ -1828,7 +1828,7 @@ void Textblock::rewrap ()
Word *word = words->getRef (i);
if (word->content.type == core::Content::WIDGET_IN_FLOW)
- calcWidgetSize (word->content.widget, &word->size);
+ word->content.widget->sizeRequest (&word->size);
wordWrap (i, false);