aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/org/apache/fop/pdf/PDFDocument.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/org/apache/fop/pdf/PDFDocument.java b/src/org/apache/fop/pdf/PDFDocument.java
index 7d2c7ec2e..6636d2d62 100644
--- a/src/org/apache/fop/pdf/PDFDocument.java
+++ b/src/org/apache/fop/pdf/PDFDocument.java
@@ -193,7 +193,9 @@ public class PDFDocument {
/* create a PDFInfo with the next object number and add to
list of objects */
PDFInfo pdfInfo = new PDFInfo(++this.objectcount);
- this.objects.addElement(pdfInfo);
+ // set the default producer
+ pdfInfo.setProducer(org.apache.fop.apps.Version.getVersion());
+ this.objects.addElement(pdfInfo);
return pdfInfo;
}