]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Simplification -- replace unnecessary call to getExplicit()
authorAndreas L. Delmelle <adelmelle@apache.org>
Sun, 18 Sep 2005 20:36:15 +0000 (20:36 +0000)
committerAndreas L. Delmelle <adelmelle@apache.org>
Sun, 18 Sep 2005 20:36:15 +0000 (20:36 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@289971 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/fo/flow/TableCell.java

index 216ada8ab289e6f7206b9e0dc7a7d5a9149b07d6..7fb8f8b28ead7529ab8923a6ea23d79f77227100 100644 (file)
@@ -144,8 +144,7 @@ public class TableCell extends TableFObj {
         //column index to the specified value, so that the updated index will
         //be the correct initial value for the next cell (see Rec 7.26.8)
         if( pList.getExplicit(PR_COLUMN_NUMBER) != null ) {
-            ((TableFObj) parent).setCurrentColumnIndex(
-                    pList.getExplicit(PR_COLUMN_NUMBER).getNumeric().getValue());
+            ((TableFObj) parent).setCurrentColumnIndex(columnNumber.getValue());
         }
     }