diff options
Diffstat (limited to 'src/java/org/apache/fop')
-rw-r--r-- | src/java/org/apache/fop/layoutmgr/BlockLayoutManager.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/layoutmgr/BlockLayoutManager.java b/src/java/org/apache/fop/layoutmgr/BlockLayoutManager.java index e6949a164..81208cdc8 100644 --- a/src/java/org/apache/fop/layoutmgr/BlockLayoutManager.java +++ b/src/java/org/apache/fop/layoutmgr/BlockLayoutManager.java @@ -336,7 +336,8 @@ public class BlockLayoutManager extends BlockStackingLayoutManager { curBlockArea = new Block(); // Must get dimensions from parent area - //Area parentArea = parentLM.getParentArea(curBlockArea); + //Don't optimize this line away. It can have ugly side-effects. + /*Area parentArea =*/ parentLM.getParentArea(curBlockArea); // set traits TraitSetter.addBorders(curBlockArea, |