aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2005-01-25 12:45:46 +0000
committerJeremias Maerki <jeremias@apache.org>2005-01-25 12:45:46 +0000
commitfd4766c634f2a3bdd62fee03ca2f9aa2d80ea445 (patch)
treed3862897c391dc17841d13da0b842bba0e64a2f7 /src/java/org/apache/fop
parentd9ac7fb576b1bccf85d564f4f024ec9f117ae70a (diff)
downloadxmlgraphics-fop-fd4766c634f2a3bdd62fee03ca2f9aa2d80ea445.tar.gz
xmlgraphics-fop-fd4766c634f2a3bdd62fee03ca2f9aa2d80ea445.zip
Too many optimizations.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198316 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop')
-rw-r--r--src/java/org/apache/fop/layoutmgr/BlockLayoutManager.java3
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,