aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-pdfbox/src
diff options
context:
space:
mode:
authorAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2015-11-19 08:48:16 +0100
committerAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2015-11-19 09:04:23 +0100
commite6450f35edb106a9898d454e2d90ded3bef1a786 (patch)
tree262c1a3176b6263d0a6f215b2c338eb85046f48f /pdf-as-pdfbox/src
parent06623086e231ef094ec80b65a18b0fe8c8457bb7 (diff)
downloadpdf-as-4-e6450f35edb106a9898d454e2d90ded3bef1a786.tar.gz
pdf-as-4-e6450f35edb106a9898d454e2d90ded3bef1a786.tar.bz2
pdf-as-4-e6450f35edb106a9898d454e2d90ded3bef1a786.zip
close Template Creator
Diffstat (limited to 'pdf-as-pdfbox/src')
-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;