07df95e75a
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::ImplViewSignatures()
async, though that requires all callers of the function to be async, so
make DocumentDigitalSignatures::signScriptingContent() async as well.
There is also DocumentDigitalSignatures::signPackage(), but turns out
that's dead code, so just remove it.
Once this is in place, we had a problem that the callbacks tried to
interact with libxmlsec, but the dialog was still alive in
DocumentDigitalSignatures::ImplViewSignatures() by the time the callback
was running, so there were two DocumentSignatureManager instances at the
same time, and both assumes it should call the global libxmlsec
init/uninit, which resulted in failing to verify the just created
signature.
Fix this similar to how Tomaz fixed the same problem around pdfium in
commit
|
||
---|---|---|
.. | ||
accessibility | ||
animations | ||
auth | ||
awt | ||
chart | ||
chart2 | ||
configuration | ||
cui | ||
datatransfer | ||
deployment | ||
document | ||
drawing | ||
embed | ||
form | ||
formula | ||
frame | ||
gallery | ||
geometry | ||
graphic | ||
i18n | ||
image | ||
inspection | ||
ldap | ||
linguistic2 | ||
logging | ||
media | ||
mozilla | ||
office | ||
packages | ||
presentation | ||
qa | ||
rdf | ||
rendering | ||
report | ||
resource | ||
scanner | ||
script | ||
sdb | ||
sdbc | ||
sdbcx | ||
security | ||
setup | ||
sheet | ||
smarttags | ||
style | ||
svg | ||
system | ||
table | ||
task | ||
text | ||
tiledrendering | ||
ucb | ||
ui | ||
util | ||
view | ||
xforms | ||
xml | ||
xsd | ||
modules.idl |