aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas L. Delmelle <adelmelle@apache.org>2005-09-18 20:36:15 +0000
committerAndreas L. Delmelle <adelmelle@apache.org>2005-09-18 20:36:15 +0000
commitb488929a93b827904c9efc1290d895b94beb27af (patch)
tree9b5527d2ece00b10a83432e66c6dcf19fd14b706
parent9ba779240b88906ed5debc2f5a8bd04b5f856ded (diff)
downloadxmlgraphics-fop-b488929a93b827904c9efc1290d895b94beb27af.tar.gz
xmlgraphics-fop-b488929a93b827904c9efc1290d895b94beb27af.zip
Simplification -- replace unnecessary call to getExplicit()
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@289971 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--src/java/org/apache/fop/fo/flow/TableCell.java3
1 files changed, 1 insertions, 2 deletions
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());
}
}