]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Fix for bug #37415
authorAndreas L. Delmelle <adelmelle@apache.org>
Tue, 8 Nov 2005 22:34:30 +0000 (22:34 +0000)
committerAndreas L. Delmelle <adelmelle@apache.org>
Tue, 8 Nov 2005 22:34:30 +0000 (22:34 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@331912 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/layoutmgr/table/TableCellLayoutManager.java

index 4070885220a8a6d771a6a94b7f0ad68f3d61d87e..de3f4d52f517684674cbacee8331d7543da69971 100644 (file)
@@ -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));