summaryrefslogtreecommitdiff
path: root/cui/source/dialogs/SignSignatureLineDialog.cxx
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2018-05-17 11:10:34 +0200
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2018-05-18 16:23:55 +0200
commit0ca1659353cc9847f436280873e1047d2524395e (patch)
treec141e6a825e5275ac200afa5d6c0623a01ecc7ed /cui/source/dialogs/SignSignatureLineDialog.cxx
parentf504273c10a7448aabd619175bc1e041458cb1a7 (diff)
Refactor SfxObjectShell sign methods
for signature line signing Change-Id: Iac4f3a248af53bdbf159e6e8d656e1dcbc3aacbf Reviewed-on: https://gerrit.libreoffice.org/54473 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'cui/source/dialogs/SignSignatureLineDialog.cxx')
-rw-r--r--cui/source/dialogs/SignSignatureLineDialog.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/dialogs/SignSignatureLineDialog.cxx b/cui/source/dialogs/SignSignatureLineDialog.cxx
index f6ae8b10ae82..a9fd2a506110 100644
--- a/cui/source/dialogs/SignSignatureLineDialog.cxx
+++ b/cui/source/dialogs/SignSignatureLineDialog.cxx
@@ -145,7 +145,7 @@ void SignSignatureLineDialog::Apply()
}
SfxObjectShell* pShell = SfxObjectShell::Current();
- pShell->SignDocumentContent(m_xSelectedCertifate, m_aSignatureLineId);
+ pShell->SignSignatureLine(m_aSignatureLineId, m_xSelectedCertifate);
bool bSuccess = false; // TODO