From: Jeremias Maerki Date: Thu, 28 Jul 2005 21:18:13 +0000 (+0000) Subject: Removed unused method X-Git-Tag: fop-0_90-alpha1~457 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4c7f77b2966ffbdebb429114445bb098b56eec44;p=xmlgraphics-fop.git Removed unused method git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@225887 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/java/org/apache/fop/layoutmgr/table/PrimaryGridUnit.java b/src/java/org/apache/fop/layoutmgr/table/PrimaryGridUnit.java index df22143e5..21d042b8e 100644 --- a/src/java/org/apache/fop/layoutmgr/table/PrimaryGridUnit.java +++ b/src/java/org/apache/fop/layoutmgr/table/PrimaryGridUnit.java @@ -129,24 +129,6 @@ public class PrimaryGridUnit extends GridUnit { return contentLength; } - /** - * @return Returns the length of the cell content after the bpd/height attributes on cell - * and row have been taken into account. - */ - public int getEffectiveContentLength() { - int value = getContentLength(); - if (!getCell().getBlockProgressionDimension().getMinimum().isAuto()) { - value = Math.max(value, - getCell().getBlockProgressionDimension().getMinimum().getLength().getValue()); - } - if (getRow() != null - && !getRow().getBlockProgressionDimension().getMinimum().isAuto()) { - value = Math.max(value, - getRow().getBlockProgressionDimension().getMinimum().getLength().getValue()); - } - return value; - } - /** @return true if cell/row has an explicit BPD/height */ public boolean hasBPD() { if (!getCell().getBlockProgressionDimension().getOptimum().isAuto()) {