From 0a654860a53d5f44276d2637901feee5cba46747 Mon Sep 17 00:00:00 2001 From: Sebastian Geerken Date: Wed, 30 Dec 2015 23:23:26 +0100 Subject: SRDOP: fix floats within textblocks not necessarily allocating the availabke width. --- dw/oofawarewidget.cc | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'dw/oofawarewidget.cc') diff --git a/dw/oofawarewidget.cc b/dw/oofawarewidget.cc index a35b4c32..a90fbfb9 100644 --- a/dw/oofawarewidget.cc +++ b/dw/oofawarewidget.cc @@ -585,6 +585,18 @@ int OOFAwareWidget::getGeneratorWidth () return 0; } +int OOFAwareWidget::getMaxGeneratorWidth () +{ + assertNotReached (); + return 0; +} + +bool OOFAwareWidget::usesMaxGeneratorWidth () +{ + assertNotReached (); + return false; +} + bool OOFAwareWidget::isPossibleContainer (int oofmIndex) { return oofmIndex != OOFM_FLOATS; -- cgit v1.2.3