From 583dbf49ae518a8d267b97daacb09a5472a29134 Mon Sep 17 00:00:00 2001 From: "Andreas L. Delmelle" Date: Tue, 8 Nov 2005 22:34:30 +0000 Subject: [PATCH] Fix for bug #37415 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@331912 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/fop/layoutmgr/table/TableCellLayoutManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- 2.39.5