[Libreoffice-commits] core.git: cui/source

Caolán McNamara caolanm at redhat.com
Sat Apr 28 13:01:25 UTC 2018


 cui/source/dialogs/SignSignatureLineDialog.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b0eca89b921e0e57a9c4982aa3ffdfba8bd79bc4
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Apr 27 16:34:46 2018 +0100

    WaE: maybe-uninitialized
    
    Change-Id: Id06f9ccc62b0a2596970dd7b813a7a67d2aa4748
    Reviewed-on: https://gerrit.libreoffice.org/53570
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

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())


More information about the Libreoffice-commits mailing list