summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow
diff options
context:
space:
mode:
authorJakob Heher <jakob.heher@iaik.tugraz.at>2022-08-03 14:09:46 +0200
committerJakob Heher <jakob.heher@iaik.tugraz.at>2022-08-03 14:09:46 +0200
commit8ed8c7ff59cf052aaab1fbe07deca55aa1dcacc0 (patch)
tree858249b882cccd070ecf918fd9b3971ff1e03def /pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow
parent761431947a2c6bc1e14ea848b97eee0f9a950171 (diff)
downloadpdf-over-8ed8c7ff59cf052aaab1fbe07deca55aa1dcacc0.tar.gz
pdf-over-8ed8c7ff59cf052aaab1fbe07deca55aa1dcacc0.tar.bz2
pdf-over-8ed8c7ff59cf052aaab1fbe07deca55aa1dcacc0.zip
exterminate SignaturePlaceholderCache
(it does not offer any measurable benefit)
Diffstat (limited to 'pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow')
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/PositioningState.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/PositioningState.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/PositioningState.java
index 4dfb514c..3bcf18bc 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/PositioningState.java
+++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/PositioningState.java
@@ -31,7 +31,6 @@ import at.asit.pdfover.gui.composites.PositioningComposite;
import at.asit.pdfover.gui.controls.Dialog.BUTTONS;
import at.asit.pdfover.gui.controls.ErrorDialog;
import at.asit.pdfover.commons.Messages;
-import at.asit.pdfover.gui.utils.SignaturePlaceholderCache;
import at.asit.pdfover.gui.workflow.StateMachine;
import at.asit.pdfover.gui.workflow.Status;
import at.asit.pdfover.gui.workflow.config.ConfigurationManager;
@@ -117,9 +116,7 @@ public class PositioningState extends State {
param.enablePDFACompat = config.getSignaturePdfACompat();
this.positionComposite.setPlaceholder(
- SignaturePlaceholderCache.getPlaceholder(param),
- param.getPlaceholderDimension().getWidth(),
- param.getPlaceholderDimension().getHeight(),
+ param.getPlaceholder(),
config.getPlaceholderTransparency());
if (this.previousPosition != null && !this.previousPosition.useAutoPositioning())
this.positionComposite.setPosition(