From 2068e1a556af412f77fe88a6765e50d326d225c7 Mon Sep 17 00:00:00 2001 From: Samuel Mehrbrodt Date: Mon, 19 Mar 2018 11:42:16 +0100 Subject: tdf#83877 SignatureLineDialog: Fix reading "can add comments" property Change-Id: I771428a37a624f80dba2db9a10297d3a1624f215 Reviewed-on: https://gerrit.libreoffice.org/51546 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt --- sw/source/uibase/dialog/SignatureLineDialog.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sw/source/uibase/dialog/SignatureLineDialog.cxx b/sw/source/uibase/dialog/SignatureLineDialog.cxx index 8d3df885beff..bc2db9a9dab1 100644 --- a/sw/source/uibase/dialog/SignatureLineDialog.cxx +++ b/sw/source/uibase/dialog/SignatureLineDialog.cxx @@ -74,7 +74,7 @@ SignatureLineDialog::SignatureLineDialog(SwView& rView) xProps->getPropertyValue("SignatureLineSigningInstructions") >>= aSigningInstructions; m_xEditInstructions->set_text(aSigningInstructions); bool bCanAddComments = false; - xProps->getPropertyValue("SignatureLineShowSignDate") >>= bCanAddComments; + xProps->getPropertyValue("SignatureLineCanAddComment") >>= bCanAddComments; m_xCheckboxCanAddComments->set_active(bCanAddComments); bool bShowSignDate = false; xProps->getPropertyValue("SignatureLineShowSignDate") >>= bShowSignDate; -- cgit v1.2.3