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/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());