[Libreoffice-commits] core.git: Branch 'libreoffice-6-1' - cui/source

Samuel Mehrbrodt Samuel.Mehrbrodt at cib.de
Thu May 31 02:16:03 UTC 2018


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

New commits:
commit d96e30a157230d9ad60cddab47dc9b727849f7de
Author: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
Date:   Wed May 30 12:10:39 2018 +0200

    Fix condition
    
    Change-Id: I977eae208bd12886d25679d4c75308d51245766a
    Reviewed-on: https://gerrit.libreoffice.org/55057
    Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
    Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
    (cherry picked from commit 29f0c9d344bfe2e09727fd9b9aa88e8c7bf361e2)
    Reviewed-on: https://gerrit.libreoffice.org/55067
    Reviewed-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>
    Tested-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>

diff --git a/cui/source/dialogs/SignSignatureLineDialog.cxx b/cui/source/dialogs/SignSignatureLineDialog.cxx
index 0c6059e75649..0753ecf30298 100644
--- a/cui/source/dialogs/SignSignatureLineDialog.cxx
+++ b/cui/source/dialogs/SignSignatureLineDialog.cxx
@@ -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;


More information about the Libreoffice-commits mailing list