aboutsummaryrefslogtreecommitdiff
path: root/dw/oofawarewidget.cc
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2015-12-30 23:23:26 +0100
committerSebastian Geerken <devnull@localhost>2015-12-30 23:23:26 +0100
commit0a654860a53d5f44276d2637901feee5cba46747 (patch)
tree3f5f976633bda3145bd796aa4f7d19c06f7438a1 /dw/oofawarewidget.cc
parent91ae5fed75491a199a86372648956db16bcdaf7d (diff)
SRDOP: fix floats within textblocks not necessarily allocating the availabke width.
Diffstat (limited to 'dw/oofawarewidget.cc')
-rw-r--r--dw/oofawarewidget.cc12
1 files changed, 12 insertions, 0 deletions
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;