From: Andreas L. Delmelle Date: Tue, 8 Nov 2005 22:34:30 +0000 (+0000) Subject: Fix for bug #37415 X-Git-Tag: fop-0_90-alpha1~77 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=583dbf49ae518a8d267b97daacb09a5472a29134;p=xmlgraphics-fop.git Fix for bug #37415 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@331912 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/java/org/apache/fop/layoutmgr/table/TableCellLayoutManager.java b/src/java/org/apache/fop/layoutmgr/table/TableCellLayoutManager.java index 407088522..de3f4d52f 100644 --- a/src/java/org/apache/fop/layoutmgr/table/TableCellLayoutManager.java +++ b/src/java/org/apache/fop/layoutmgr/table/TableCellLayoutManager.java @@ -203,7 +203,7 @@ public class TableCellLayoutManager extends BlockStackingLayoutManager //contentList.add(new KnuthPenalty(0, // KnuthElement.INFINITE, false, // new Position(this), false)); - } else if (!((KnuthElement) contentList.getLast()).isGlue()) { + } else if (!((ListElement) contentList.getLast()).isGlue()) { // add a null penalty to allow a break between blocks contentList.add(new BreakElement( new Position(this), 0, context));