aboutsummaryrefslogtreecommitdiff
path: root/dw/textblock.cc
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2015-10-10 13:28:59 +0200
committerSebastian Geerken <devnull@localhost>2015-10-10 13:28:59 +0200
commitb7d71aed37122b8277fee0c39da06c0cd3156742 (patch)
tree5e64d49790b54729df09a31f287650d65a8690cc /dw/textblock.cc
parent55ef9e15acdc335458adef22a72648a7753fd9e9 (diff)
SRDOP: clear (still buggy).
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;