diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2024-09-09 09:11:06 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2024-09-09 17:30:28 +0200 |
commit | caff013bee53216efeb49db4bcda44b55c223b58 (patch) | |
tree | 9b93081b8e5f829be7503a72876a922a1da51aad /basic/source/sbx/sbxcurr.cxx | |
parent | 602466268467b0f4b356d4613c6c649449503d1c (diff) |
cool#9992 lok doc sign: async DocumentDigitalSignatures::signDocumentContent()
Currently SfxObjectShell::CheckIsReadonly() has a hack for the LOK case
to show the signatures dialog read-only, as only that is async.
The next step is to make
DocumentDigitalSignatures::signDocumentContent() async, but passing an
std::function via the UNO API is tricky.
Notice how DocumentDigitalSignatures in xmlsecurity/ also implements
sfx2::DigitalSignatures, add a new SignDocumentContentAsync() there and
adapt all uses of signDocumentContent() to go with that instead.
This requires introducing some lambdas for code after
signDocumentContent() in general and for ODF/OOXML specific code in
particular, to avoid code duplication.
Change-Id: If771ced711041364988af45ad9dd0dd1a2a8660d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173060
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'basic/source/sbx/sbxcurr.cxx')
0 files changed, 0 insertions, 0 deletions