diff options
author | Sebastian Geerken <devnull@localhost> | 2015-10-04 01:02:30 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2015-10-04 01:02:30 +0200 |
commit | a96891523304aa2b1ae38c683f3c85f343563d61 (patch) | |
tree | 4a2d4eeb19c9d22364f2255c3d4761362302bb8e /dw/textblock_linebreaking.cc | |
parent | 6dee44b7e0c1744fd9f6cd11f1419c8a29aebb86 (diff) |
SRDOP: correct usage of get*Border.
Diffstat (limited to 'dw/textblock_linebreaking.cc')
-rw-r--r-- | dw/textblock_linebreaking.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/dw/textblock_linebreaking.cc b/dw/textblock_linebreaking.cc index 81e60a71..0f76b2f4 100644 --- a/dw/textblock_linebreaking.cc +++ b/dw/textblock_linebreaking.cc @@ -2077,10 +2077,12 @@ void Textblock::calcBorders (int lastOofRef, int height) newLineLeftBorder = misc::max (newLineLeftBorder, - oofm->getLeftBorder (y, height, this, effOofRef)); + oofm->getLeftBorder (y, height, this, effOofRef) + - getGeneratorX (i)); newLineRightBorder = misc::max (newLineRightBorder, - oofm->getRightBorder (y, height, this, effOofRef)); + oofm->getRightBorder (y, height, this, effOofRef) + - getGeneratorRest (i)); // TODO "max" is not really correct for the heights. (Does // not matter, since only one, the float manager, returns |