summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cui/source/dialogs/SignSignatureLineDialog.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/dialogs/SignSignatureLineDialog.cxx b/cui/source/dialogs/SignSignatureLineDialog.cxx
index 4349ec5ad4e0..cd0295415410 100644
--- a/cui/source/dialogs/SignSignatureLineDialog.cxx
+++ b/cui/source/dialogs/SignSignatureLineDialog.cxx
@@ -84,7 +84,7 @@ SignSignatureLineDialog::SignSignatureLineDialog(weld::Widget* pParent, Referenc
m_xShapeProperties->getPropertyValue("SignatureLineSigningInstructions")
>>= aSigningInstructions;
m_xShapeProperties->getPropertyValue("SignatureLineShowSignDate") >>= m_bShowSignDate;
- bool bCanAddComment;
+ bool bCanAddComment(false);
m_xShapeProperties->getPropertyValue("SignatureLineCanAddComment") >>= bCanAddComment;
if (aSigningInstructions.isEmpty())