summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration
diff options
context:
space:
mode:
authorJakob Heher <jakob.heher@iaik.tugraz.at>2022-08-02 15:36:18 +0200
committerJakob Heher <jakob.heher@iaik.tugraz.at>2022-08-02 15:36:18 +0200
commitbc13db63852cda94e1f6454138d69ccd803c9b7e (patch)
treee5dd59e03b94d046971950b409b8ead780e099a4 /pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration
parent8522b8b8cb0043883b8801e619384f94efe981e8 (diff)
downloadpdf-over-bc13db63852cda94e1f6454138d69ccd803c9b7e.tar.gz
pdf-over-bc13db63852cda94e1f6454138d69ccd803c9b7e.tar.bz2
pdf-over-bc13db63852cda94e1f6454138d69ccd803c9b7e.zip
remove some dead code
Diffstat (limited to 'pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration')
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/SimpleConfigurationComposite.java12
1 files changed, 0 insertions, 12 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/SimpleConfigurationComposite.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/SimpleConfigurationComposite.java
index a737bdfe..f44367a2 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/SimpleConfigurationComposite.java
+++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/SimpleConfigurationComposite.java
@@ -539,7 +539,6 @@ public class SimpleConfigurationComposite extends ConfigurationCompositeBase {
if (newProfile.equals(Profile.AMTSSIGNATURBLOCK) || newProfile.equals(Profile.INVISIBLE)){
this.configurationContainer.autoPositionSignature = true;
}
- setSignatureProfileSetting();
if (txtSignatureNote.getText().equals(getDefaultSignatureBlockNoteTextFor(oldProfile, null)))
txtSignatureNote.setText(getDefaultSignatureBlockNoteTextFor(newProfile, null));
}
@@ -552,17 +551,6 @@ public class SimpleConfigurationComposite extends ConfigurationCompositeBase {
return profile.getDefaultSignatureBlockNote(locale);
}
- void setSignatureProfileSetting(){
- try {
- // TODO this doesn't do anything...?
- PdfAs4SignatureParameter param = new PdfAs4SignatureParameter();
- param.signatureProfileName = this.configurationContainer.getSignatureProfile().name();
-
- } catch (Exception e){
- log.warn("Cannot save signature profile {}", e.getMessage());
- }
- }
-
private void plainMobileNumberSetter() {
String number = this.txtMobileNumber.getText();
this.configurationContainer.setMobileNumber(number);