aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-pdfbox/src/main/java/at/gv/egiz/pdfas/lib/impl
diff options
context:
space:
mode:
authorAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2014-11-14 15:32:41 +0100
committerAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2014-11-14 15:32:41 +0100
commit8bc2db82a8066846e88be7da8abe41bff9325445 (patch)
tree3b29e678ebeb7e3882348fb672c1f49a410b2498 /pdf-as-pdfbox/src/main/java/at/gv/egiz/pdfas/lib/impl
parentd7b66fb00c4e75932da62fd2a50bfae479f4aa06 (diff)
downloadpdf-as-4-8bc2db82a8066846e88be7da8abe41bff9325445.tar.gz
pdf-as-4-8bc2db82a8066846e88be7da8abe41bff9325445.tar.bz2
pdf-as-4-8bc2db82a8066846e88be7da8abe41bff9325445.zip
QR Code fixes
Diffstat (limited to 'pdf-as-pdfbox/src/main/java/at/gv/egiz/pdfas/lib/impl')
-rw-r--r--pdf-as-pdfbox/src/main/java/at/gv/egiz/pdfas/lib/impl/signing/pdfbox/PADESPDFBOXSigner.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/pdf-as-pdfbox/src/main/java/at/gv/egiz/pdfas/lib/impl/signing/pdfbox/PADESPDFBOXSigner.java b/pdf-as-pdfbox/src/main/java/at/gv/egiz/pdfas/lib/impl/signing/pdfbox/PADESPDFBOXSigner.java
index b01351b6..9d50a348 100644
--- a/pdf-as-pdfbox/src/main/java/at/gv/egiz/pdfas/lib/impl/signing/pdfbox/PADESPDFBOXSigner.java
+++ b/pdf-as-pdfbox/src/main/java/at/gv/egiz/pdfas/lib/impl/signing/pdfbox/PADESPDFBOXSigner.java
@@ -292,8 +292,8 @@ public class PADESPDFBOXSigner implements IPdfSigner, IConfigurationConstants {
List<PDPage> kids = new ArrayList<PDPage>();
rootPages.getAllKids(kids);
int pageNumber = positioningInstruction.getPage();
- rootPages.getAllKids(kids);
- PDPage page = kids.get(pageNumber);
+ //rootPages.getAllKids(kids);
+ PDPage page = kids.get(pageNumber-1);
logger.info("Placeholder name: "
+ signaturePlaceholderData.getPlaceholderName());