From 4c7f77b2966ffbdebb429114445bb098b56eec44 Mon Sep 17 00:00:00 2001 From: Jeremias Maerki Date: Thu, 28 Jul 2005 21:18:13 +0000 Subject: [PATCH] Removed unused method git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@225887 13f79535-47bb-0310-9956-ffa450edef68 --- .../fop/layoutmgr/table/PrimaryGridUnit.java | 18 ------------------ 1 file changed, 18 deletions(-) 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()) { -- 2.39.5