aboutsummaryrefslogtreecommitdiff
path: root/dw/textblock.cc
diff options
context:
space:
mode:
Diffstat (limited to 'dw/textblock.cc')
-rw-r--r--dw/textblock.cc12
1 files changed, 12 insertions, 0 deletions
diff --git a/dw/textblock.cc b/dw/textblock.cc
index bc6639da..e5561f6a 100644
--- a/dw/textblock.cc
+++ b/dw/textblock.cc
@@ -3179,6 +3179,18 @@ void Textblock::oofSizeChanged (bool extremesChanged)
DBG_OBJ_LEAVE ();
}
+int Textblock::getGeneratorY (int oofmIndex)
+{
+ int yRef;
+ if (findSizeRequestReference (oofmIndex, NULL, &yRef))
+ return yRef;
+ else {
+ // Only called for floats, so this should not happen:
+ assertNotReached ();
+ return 0;
+ }
+}
+
int Textblock::getGeneratorX (int oofmIndex)
{
int xRef;