From: Andreas L. Delmelle Date: Sun, 18 Sep 2005 20:36:15 +0000 (+0000) Subject: Simplification -- replace unnecessary call to getExplicit() X-Git-Tag: fop-0_90-alpha1~202 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b488929a93b827904c9efc1290d895b94beb27af;p=xmlgraphics-fop.git Simplification -- replace unnecessary call to getExplicit() git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@289971 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/java/org/apache/fop/fo/flow/TableCell.java b/src/java/org/apache/fop/fo/flow/TableCell.java index 216ada8ab..7fb8f8b28 100644 --- a/src/java/org/apache/fop/fo/flow/TableCell.java +++ b/src/java/org/apache/fop/fo/flow/TableCell.java @@ -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()); } }