Kaydet (Commit) ce005c88 authored tarafından Samuel Mehrbrodt's avatar Samuel Mehrbrodt

Don't try to sign when no certificate is selected

Change-Id: I30f8f5970538db25ae678dc5b32afb292fd3983a
Reviewed-on: https://gerrit.libreoffice.org/54652Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
üst 090e243c
......@@ -142,6 +142,7 @@ void SignSignatureLineDialog::Apply()
if (!m_xSelectedCertifate.is())
{
SAL_WARN("cui.dialogs", "No certificate selected!");
return;
}
SfxObjectShell* pShell = SfxObjectShell::Current();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment