diff options
author | Sebastian Geerken <devnull@localhost> | 2015-10-10 13:28:59 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2015-10-10 13:28:59 +0200 |
commit | b7d71aed37122b8277fee0c39da06c0cd3156742 (patch) | |
tree | 5e64d49790b54729df09a31f287650d65a8690cc /dw/textblock.cc | |
parent | 55ef9e15acdc335458adef22a72648a7753fd9e9 (diff) |
SRDOP: clear (still buggy).
Diffstat (limited to 'dw/textblock.cc')
-rw-r--r-- | dw/textblock.cc | 12 |
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; |