]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Fixed minor bug where duplicate ids are added to an area when a table
authorKelly Campbell <kellyc@apache.org>
Mon, 18 Dec 2000 23:24:31 +0000 (23:24 +0000)
committerKelly Campbell <kellyc@apache.org>
Mon, 18 Dec 2000 23:24:31 +0000 (23:24 +0000)
row flows over a page break.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193906 13f79535-47bb-0310-9956-ffa450edef68

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

index 2db9989ef3964936dec17416d3ff18de172c4f97..20db3ce4b25b0e51fb28a080848406fa940257e9 100644 (file)
@@ -349,9 +349,12 @@ public class TableRow extends FObj {
             if (area instanceof BlockArea) {
                 area.end();
             }
-
-            area.getIDReferences().createID(id);
-            configID = true;
+           if (cells == null) { // check to make sure this row hasn't been partially
+                                // laid out yet (with an id created already)
+               area.getIDReferences().createID(id);
+               configID = true;
+           }
+           
 
             this.marker = 0;
         }