You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by pi...@apache.org on 2004/02/08 00:10:19 UTC
cvs commit: xml-fop/src/java/org/apache/fop/layoutmgr/table Row.java
pietsch 2004/02/07 15:10:19
Modified: src/java/org/apache/fop/layoutmgr/table Row.java
Log:
Fixed the missing table header bug.
Revision Changes Path
1.6 +2 -2 xml-fop/src/java/org/apache/fop/layoutmgr/table/Row.java
Index: Row.java
===================================================================
RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/layoutmgr/table/Row.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- Row.java 8 Sep 2003 17:00:56 -0000 1.5
+++ Row.java 7 Feb 2004 23:10:19 -0000 1.6
@@ -273,7 +273,7 @@
int cellcount = 0;
if (pos == null) {
- while ((curLM = getCellLM(cellcount++)) != null) {
+ while ((curLM = getCellLM(cellcount)) != null) {
curLM.resetPosition(null);
cellcount++;
}
@@ -281,7 +281,7 @@
RowPosition rpos = (RowPosition)pos;
List breaks = rpos.cellBreaks;
- while ((curLM = getCellLM(cellcount++)) != null) {
+ while ((curLM = getCellLM(cellcount)) != null) {
List childbreaks = (List)breaks.get(cellcount);
curLM.resetPosition((Position)childbreaks.get(childbreaks.size() - 1));
cellcount++;
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-cvs-help@xml.apache.org