aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorfotis <fotis@unknown>2000-03-26 10:39:04 +0000
committerfotis <fotis@unknown>2000-03-26 10:39:04 +0000
commit4bcf0b3249fdd81c1d62d1638e72090a008158e2 (patch)
tree0ac194394fe6eaa7ba218d18cf063de7423ab40a /src
parent8e71ac6e8b18fc2dd38dd98dcdaeafef81bf75bb (diff)
downloadxmlgraphics-fop-4bcf0b3249fdd81c1d62d1638e72090a008158e2.tar.gz
xmlgraphics-fop-4bcf0b3249fdd81c1d62d1638e72090a008158e2.zip
Fix: don't increment page count twice
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193314 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r--src/org/apache/fop/pdf/PDFPages.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/org/apache/fop/pdf/PDFPages.java b/src/org/apache/fop/pdf/PDFPages.java
index 7453f6be3..70b63b23c 100644
--- a/src/org/apache/fop/pdf/PDFPages.java
+++ b/src/org/apache/fop/pdf/PDFPages.java
@@ -88,7 +88,6 @@ public class PDFPages extends PDFObject {
* @param page the PDFPage to add.
*/
public void addPage(PDFPage page) {
- this.count++;
this.kids.addElement(page);
page.setParent(this);
this.incrementCount();