From 292760ece2e6482f4020480c17a204aa1435e707 Mon Sep 17 00:00:00 2001 From: "Andreas L. Delmelle" Date: Thu, 1 May 2008 10:01:51 +0000 Subject: [PATCH] Minor cleanup: remove height/width members and unused getHeight()/getWidth() accessors git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@652467 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/fop/fo/flow/BlockContainer.java | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/java/org/apache/fop/fo/flow/BlockContainer.java b/src/java/org/apache/fop/fo/flow/BlockContainer.java index 5e8957299..431dae954 100644 --- a/src/java/org/apache/fop/fo/flow/BlockContainer.java +++ b/src/java/org/apache/fop/fo/flow/BlockContainer.java @@ -48,7 +48,6 @@ public class BlockContainer extends FObj { private int breakBefore; // private ToBeImplementedProperty clip; private int displayAlign; - private Length height; private LengthRangeProperty inlineProgressionDimension; private KeepProperty keepTogether; private KeepProperty keepWithNext; @@ -56,7 +55,6 @@ public class BlockContainer extends FObj { private int overflow; private Numeric referenceOrientation; private int span; - private Length width; private int writingMode; // Unused but valid items, commented out for performance: // private int intrusionDisplace; @@ -87,7 +85,6 @@ public class BlockContainer extends FObj { breakBefore = pList.get(PR_BREAK_BEFORE).getEnum(); // clip = pList.get(PR_CLIP); displayAlign = pList.get(PR_DISPLAY_ALIGN).getEnum(); - height = pList.get(PR_HEIGHT).getLength(); inlineProgressionDimension = pList.get(PR_INLINE_PROGRESSION_DIMENSION).getLengthRange(); keepTogether = pList.get(PR_KEEP_TOGETHER).getKeep(); keepWithNext = pList.get(PR_KEEP_WITH_NEXT).getKeep(); @@ -95,7 +92,6 @@ public class BlockContainer extends FObj { overflow = pList.get(PR_OVERFLOW).getEnum(); referenceOrientation = pList.get(PR_REFERENCE_ORIENTATION).getNumeric(); span = pList.get(PR_SPAN).getEnum(); - width = pList.get(PR_WIDTH).getLength(); writingMode = pList.get(PR_WRITING_MODE).getEnum(); } @@ -225,16 +221,6 @@ public class BlockContainer extends FObj { return writingMode; } - /** @return the "width" property */ - public Length getWidth() { - return width; - } - - /** @return the "height" property */ - public Length getHeight() { - return height; - } - /** {@inheritDoc} */ public String getLocalName() { return "block-container"; -- 2.39.5