aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-pdfbox/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'pdf-as-pdfbox/src/main/java')
-rw-r--r--pdf-as-pdfbox/src/main/java/at/gv/egiz/pdfas/lib/impl/stamping/pdfbox/PDFAsTemplateCreator.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/pdf-as-pdfbox/src/main/java/at/gv/egiz/pdfas/lib/impl/stamping/pdfbox/PDFAsTemplateCreator.java b/pdf-as-pdfbox/src/main/java/at/gv/egiz/pdfas/lib/impl/stamping/pdfbox/PDFAsTemplateCreator.java
index 0ceb6139..911e4117 100644
--- a/pdf-as-pdfbox/src/main/java/at/gv/egiz/pdfas/lib/impl/stamping/pdfbox/PDFAsTemplateCreator.java
+++ b/pdf-as-pdfbox/src/main/java/at/gv/egiz/pdfas/lib/impl/stamping/pdfbox/PDFAsTemplateCreator.java
@@ -162,7 +162,7 @@ public class PDFAsTemplateCreator extends PDFTemplateCreator {
logger.debug("stream returning started, size= " + in.available());
// we must close the document
- template.close();
+ this.pdfBuilder.closeTemplate(template);
// return result of the stream
return in;