summaryrefslogtreecommitdiffstats
path: root/include/sfx2/objsh.hxx
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2018-10-24 11:22:50 +0200
committerTomaž Vajngerl <quikee@gmail.com>2018-11-06 12:57:47 +0100
commitfcdc8178ee2907da231baafc2e1d6cf8ce0bf00b (patch)
treea90ae21f5053d8f4ebe2fd9cdbedd936cd4d5e33 /include/sfx2/objsh.hxx
parenttdf#121179 FILEOPEN: Crash opening a certain file (gtk/gtk3) (diff)
downloadcore-fcdc8178ee2907da231baafc2e1d6cf8ce0bf00b.tar.gz
core-fcdc8178ee2907da231baafc2e1d6cf8ce0bf00b.zip
sfx2: add RecheckSignature to run signature verification again
This was extracted from AfterSigning method and is needed when we add the certificate chain to the database after the document was loaded already. Change-Id: I3087386d0131ce962eb3b588c409542617eb7bfe Reviewed-on: https://gerrit.libreoffice.org/62275 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'include/sfx2/objsh.hxx')
-rw-r--r--include/sfx2/objsh.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sfx2/objsh.hxx b/include/sfx2/objsh.hxx
index 4e0ba7ae2a84..a7f65b619e60 100644
--- a/include/sfx2/objsh.hxx
+++ b/include/sfx2/objsh.hxx
@@ -357,6 +357,7 @@ public:
/** Returns to if preparing was successful, else false. */
bool PrepareForSigning(weld::Window* pDialogParent);
bool CheckIsReadonly(bool bSignScriptingContent);
+ void RecheckSignature(bool bAlsoRecheckScriptingSignature);
void AfterSigning(bool bSignSuccess, bool bSignScriptingContent);
bool HasValidSignatures();
SignatureState GetDocumentSignatureState();