diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2024-09-06 09:47:25 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2024-09-12 11:29:20 +0200 |
commit | 11af9233ab7b2ff40eaa45922f38fe65b14ff881 (patch) | |
tree | b7917048c8f2680af482f9b5a2f81999c16b3626 /extensions | |
parent | e8e7ba59e6f90dbdc9b660d72132293b78bc48a7 (diff) |
cool#9992 lok doc sign: make SfxMedium::SignContents_Impl() async
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 to get rid of this hack is to make
SfxMedium::SignContents_Impl() async, now that
SfxObjectShell::SignDocumentContent() is async.
This requires all callers of SfxMedium::SignContents_Impl() to be async,
most notably SfxObjectShell::SignScriptingContent() has to be converted
as well.
Note that no lifecycle problem is expected here for the callback, since
the object shell and its medium is typically around for as long as the
document is loaded.
(cherry picked from commit de0bc0a2c30a76144b47e9abb17770043813133c)
Change-Id: I57f2c747f8448b9adc0398f874ede36211fed817
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173062
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Diffstat (limited to 'extensions')
0 files changed, 0 insertions, 0 deletions