Fix condition

Change-Id: I977eae208bd12886d25679d4c75308d51245766a
Reviewed-on: https://gerrit.libreoffice.org/55057
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
This commit is contained in:
Samuel Mehrbrodt
2018-05-30 12:10:39 +02:00
parent c51e2dadcb
commit 29f0c9d344

View File

@@ -164,7 +164,7 @@ SignSignatureLineDialog::getSignedGraphic(bool bValid)
OUString aIssuerLine = CuiResId(RID_SVXSTR_SIGNATURELINE_SIGNED_BY)
.replaceFirst("%1", m_xSelectedCertifate->getIssuerName());
aSvgImage = aSvgImage.replaceAll("[SIGNED_BY]", getCDataString(aIssuerLine));
if (!bValid)
if (bValid)
aSvgImage = aSvgImage.replaceAll("[INVALID_SIGNATURE]", "");
OUString aDate;