xmlsecurity/source/component/documentdigitalsignatures.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d4d6e7adfc4dc11077b6455d51f2590fd72212c1
Author:     kallial <[email protected]>
AuthorDate: Fri Oct 17 20:07:06 2025 +0300
Commit:     Adolfo Jayme Barrientos <[email protected]>
CommitDate: Thu Oct 30 04:25:04 2025 +0100

    tdf#160701 Change OpenPGP untrusted key dialog type from "Error" to
    
    "Warning"
    
    Change-Id: I626e7fa6861699d86490b63b8d3c1c7efc31206a
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/192586
    Tested-by: Jenkins
    Reviewed-by: Ilmari Lauhakangas <[email protected]>
    (cherry picked from commit fc2948b208a847b12a80bdf0af0e32fb76961f72)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193125
    Reviewed-by: Adolfo Jayme Barrientos <[email protected]>

diff --git a/xmlsecurity/source/component/documentdigitalsignatures.cxx 
b/xmlsecurity/source/component/documentdigitalsignatures.cxx
index 6d8291c7bf83..22dc147e6c33 100644
--- a/xmlsecurity/source/component/documentdigitalsignatures.cxx
+++ b/xmlsecurity/source/component/documentdigitalsignatures.cxx
@@ -821,7 +821,7 @@ sal_Bool 
DocumentDigitalSignatures::trustUntrustedCertificate(
     OUString 
aSubjectName(comphelper::xmlsec::GetContentPart(xCertificate->getSubjectName(), 
xCertificate->getCertificateKind()));
     OUString aMsg(XsResId(STR_TRUST_UNTRUSTED_PUBKEY));
     aMsg = aMsg.replaceFirst("%{data}", aSubjectName);
-    std::unique_ptr<weld::MessageDialog> 
m_xQueryBox(Application::CreateMessageDialog(nullptr, VclMessageType::Error, 
VclButtonsType::YesNo, aMsg));
+    std::unique_ptr<weld::MessageDialog> 
m_xQueryBox(Application::CreateMessageDialog(nullptr, VclMessageType::Warning, 
VclButtonsType::YesNo, aMsg));
     m_xQueryBox->set_default_response(RET_NO);
     return m_xQueryBox->run() == RET_YES;
 }

Reply via email to