summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdograf.cxx
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2018-11-06 10:16:25 +0100
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2018-11-06 15:00:58 +0100
commit7b6f477799d55d80775b6120ba0b5ce1bb45fb3c (patch)
tree94ad09d469dd609da0eef4a9dba3929113e931cc /svx/source/svdraw/svdograf.cxx
parentff8fdc310a13e677dfc97151f0752d7e88356b84 (diff)
tdf#118582 Disable signature line signing once it is signed
Change-Id: I720d7d4920ae9c2f5d74ad827e1e214a62fe81a9 Reviewed-on: https://gerrit.libreoffice.org/62947 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'svx/source/svdraw/svdograf.cxx')
-rw-r--r--svx/source/svdraw/svdograf.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/svx/source/svdraw/svdograf.cxx b/svx/source/svdraw/svdograf.cxx
index 175abd23252a..c0cebde414b5 100644
--- a/svx/source/svdraw/svdograf.cxx
+++ b/svx/source/svdraw/svdograf.cxx
@@ -193,6 +193,7 @@ SdrGrafObj::SdrGrafObj(SdrModel& rSdrModel)
,mbIsSignatureLine(false)
,mbIsSignatureLineShowSignDate(true)
,mbIsSignatureLineCanAddComment(false)
+ ,mbSignatureLineIsSigned(false)
{
onGraphicChanged();
@@ -219,6 +220,7 @@ SdrGrafObj::SdrGrafObj(
,mbIsSignatureLine(false)
,mbIsSignatureLineShowSignDate(true)
,mbIsSignatureLineCanAddComment(false)
+ ,mbSignatureLineIsSigned(false)
{
onGraphicChanged();
@@ -244,6 +246,7 @@ SdrGrafObj::SdrGrafObj(
,mbIsSignatureLine(false)
,mbIsSignatureLineShowSignDate(true)
,mbIsSignatureLineCanAddComment(false)
+ ,mbSignatureLineIsSigned(false)
{
onGraphicChanged();
@@ -731,6 +734,7 @@ SdrGrafObj& SdrGrafObj::operator=( const SdrGrafObj& rObj )
maSignatureLineSigningInstructions = rObj.maSignatureLineSigningInstructions;
mbIsSignatureLineShowSignDate = rObj.mbIsSignatureLineShowSignDate;
mbIsSignatureLineCanAddComment = rObj.mbIsSignatureLineCanAddComment;
+ mbSignatureLineIsSigned = false;
mpSignatureLineUnsignedGraphic = rObj.mpSignatureLineUnsignedGraphic;
if (mbIsSignatureLine && rObj.mpSignatureLineUnsignedGraphic)
mpGraphicObject->SetGraphic(rObj.mpSignatureLineUnsignedGraphic);