From 9f4e283fc8af97c4599e21006ad73b73fc141f81 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 13 Jun 2016 09:21:03 +0200 Subject: loplugin:sallogareas Change-Id: I6ce045db236b81aa8bc7bce2a0e20c4132c5931f --- xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx | 8 ++++---- xmlsecurity/source/dialogs/macrosecurity.cxx | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'xmlsecurity/source/dialogs') diff --git a/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx b/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx index b20be6cb01b3..196ccb01fdb5 100644 --- a/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx +++ b/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx @@ -201,7 +201,7 @@ bool DigitalSignaturesDialog::Init() { bool bInit = maSignatureManager.maSignatureHelper.Init(); - SAL_WARN_IF( !bInit, "xmlsecurity", "Error initializing security context!" ); + SAL_WARN_IF( !bInit, "xmlsecurity.dialogs", "Error initializing security context!" ); if ( bInit ) { @@ -447,7 +447,7 @@ void DigitalSignaturesDialog::ImplFillSignaturesBox() //in the digital signature dialog. //Comparing the X509IssuerName with the one from the X509Certificate in order //to find out if the X509IssuerName was modified does not work. See #i62684 - SAL_WARN( "xmlsecurity", "Could not find embedded certificate!"); + SAL_WARN( "xmlsecurity.dialogs", "Could not find embedded certificate!"); } //In case there is no embedded certificate we try to get it from a local store @@ -455,7 +455,7 @@ void DigitalSignaturesDialog::ImplFillSignaturesBox() if (!xCert.is()) xCert = xSecEnv->getCertificate( rInfo.ouX509IssuerName, xSerialNumberAdapter->toSequence( rInfo.ouX509SerialNumber ) ); - SAL_WARN_IF( !xCert.is(), "xmlsecurity", "Certificate not found and can't be created!" ); + SAL_WARN_IF( !xCert.is(), "xmlsecurity.dialogs", "Certificate not found and can't be created!" ); OUString aSubject; OUString aIssuer; @@ -587,7 +587,7 @@ void DigitalSignaturesDialog::ImplShowSignaturesDetails() if (!xCert.is()) xCert = xSecEnv->getCertificate( rInfo.ouX509IssuerName, xSerialNumberAdapter->toSequence( rInfo.ouX509SerialNumber ) ); - SAL_WARN_IF( !xCert.is(), "xmlsecurity", "Error getting Certificate!" ); + SAL_WARN_IF( !xCert.is(), "xmlsecurity.dialogs", "Error getting Certificate!" ); if ( xCert.is() ) { ScopedVclPtrInstance< CertificateViewer > aViewer( this, maSignatureManager.maSignatureHelper.GetSecurityEnvironment(), xCert, false ); diff --git a/xmlsecurity/source/dialogs/macrosecurity.cxx b/xmlsecurity/source/dialogs/macrosecurity.cxx index 36e4c614a4a8..d73123ea7ba5 100644 --- a/xmlsecurity/source/dialogs/macrosecurity.cxx +++ b/xmlsecurity/source/dialogs/macrosecurity.cxx @@ -230,7 +230,7 @@ IMPL_LINK_NOARG_TYPED(MacroSecurityTrustedSourcesTP, ViewCertPBHdl, Button*, voi if ( !xCert.is() ) xCert = mpDlg->mxSecurityEnvironment->createCertificateFromAscii( maTrustedAuthors[nSelected][2] ) ; - SAL_WARN_IF( !xCert.is(), "xmlsecurity", "*MacroSecurityTrustedSourcesTP::ViewCertPBHdl(): Certificate not found and can't be created!" ); + SAL_WARN_IF( !xCert.is(), "xmlsecurity.dialogs", "*MacroSecurityTrustedSourcesTP::ViewCertPBHdl(): Certificate not found and can't be created!" ); if ( xCert.is() ) { -- cgit