summaryrefslogtreecommitdiff
path: root/include/sfx2/objsh.hxx
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2018-05-17 12:30:01 +0200
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2018-05-22 06:52:31 +0200
commit039117eb27a11ee61d4f099c8616861cba961702 (patch)
tree70bc52ab4440e6b834697907f035111863ac9981 /include/sfx2/objsh.hxx
parentc4409edb4e0623b17c9760af11c7bd7b29a59d76 (diff)
Simplify SignContents_Impl by moving readonly check to caller methods
Change-Id: I95d9b12d7e1fc715363396e10bc4adc869978c44 Reviewed-on: https://gerrit.libreoffice.org/54478 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
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 680b1ed8597f..0acc4f69a45d 100644
--- a/include/sfx2/objsh.hxx
+++ b/include/sfx2/objsh.hxx
@@ -355,6 +355,7 @@ public:
/** Returns to if preparing was succesful, else false. */
bool PrepareForSigning();
+ bool CheckIsReadonly(bool bSignScriptingContent);
void AfterSigning(bool bSignSuccess, bool bSignScriptingContent);
bool HasValidSignatures();
SignatureState GetDocumentSignatureState();