summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cui/source/dialogs/SignSignatureLineDialog.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/cui/source/dialogs/SignSignatureLineDialog.cxx b/cui/source/dialogs/SignSignatureLineDialog.cxx
index 8cc06d90a4eb..641a4fb10c68 100644
--- a/cui/source/dialogs/SignSignatureLineDialog.cxx
+++ b/cui/source/dialogs/SignSignatureLineDialog.cxx
@@ -142,6 +142,7 @@ void SignSignatureLineDialog::Apply()
if (!m_xSelectedCertifate.is())
{
SAL_WARN("cui.dialogs", "No certificate selected!");
+ return;
}
SfxObjectShell* pShell = SfxObjectShell::Current();