cui/source/dialogs/SignSignatureLineDialog.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 0658b056ad326c27e7d7b3f40219c2b6f34a9d9e Author: Caolán McNamara <caol...@redhat.com> Date: Tue Apr 17 10:36:06 2018 +0100 coverity#1434900 Uninitialized scalar field Change-Id: Ia4758d8e1fb50d25d8efeb9e3e1950e47bf3401c Reviewed-on: https://gerrit.libreoffice.org/53028 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/cui/source/dialogs/SignSignatureLineDialog.cxx b/cui/source/dialogs/SignSignatureLineDialog.cxx index cf2ad66dba81..4349ec5ad4e0 100644 --- a/cui/source/dialogs/SignSignatureLineDialog.cxx +++ b/cui/source/dialogs/SignSignatureLineDialog.cxx @@ -56,12 +56,13 @@ SignSignatureLineDialog::SignSignatureLineDialog(weld::Widget* pParent, Referenc , m_xLabelHint(m_xBuilder->weld_label("label_hint")) , m_xLabelHintText(m_xBuilder->weld_label("label_hint_text")) , m_xLabelAddComment(m_xBuilder->weld_label("label_add_comment")) + , m_bShowSignDate(false) { Reference<container::XIndexAccess> xIndexAccess(m_xModel->getCurrentSelection(), UNO_QUERY_THROW); m_xShapeProperties.set(xIndexAccess->getByIndex(0), UNO_QUERY_THROW); - bool bIsSignatureLine; + bool bIsSignatureLine(false); m_xShapeProperties->getPropertyValue("IsSignatureLine") >>= bIsSignatureLine; if (!bIsSignatureLine) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits