From fd4766c634f2a3bdd62fee03ca2f9aa2d80ea445 Mon Sep 17 00:00:00 2001 From: Jeremias Maerki Date: Tue, 25 Jan 2005 12:45:46 +0000 Subject: [PATCH] Too many optimizations. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198316 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/fop/layoutmgr/BlockLayoutManager.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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, -- 2.39.5