aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/org/apache/fop/layout/BlockArea.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/apache/fop/layout/BlockArea.java b/src/org/apache/fop/layout/BlockArea.java
index 105d5bd95..891a7cfde 100644
--- a/src/org/apache/fop/layout/BlockArea.java
+++ b/src/org/apache/fop/layout/BlockArea.java
@@ -122,7 +122,7 @@ public class BlockArea extends Area {
* @return the line area to be used to add inlie objects
*/
public LineArea getCurrentLineArea() {
- if (currentHeight + this.currentLineArea.getHeight() > maxHeight) {
+ if (currentHeight + lineHeight > maxHeight) {
return null;
}
this.currentLineArea.changeHyphenation(hyphProps);