diff options
author | Noel Grandin <noel@peralex.com> | 2014-04-23 13:44:07 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-04-24 10:53:16 +0200 |
commit | e4e654e40575300eaab429a6b94348bf43b9d7ce (patch) | |
tree | 3e44e5429c9e6ddecae45e47154733ac882d9564 /xmlsecurity/source/dialogs | |
parent | 2ff8ae7c9e9b36d187abef9e163f47a740d51214 (diff) |
xmlsecurity: sal_Bool->bool
Change-Id: I4f32fe3b5133e13dab88ca1c9acd021d84dc59a9
Diffstat (limited to 'xmlsecurity/source/dialogs')
4 files changed, 6 insertions, 6 deletions
diff --git a/xmlsecurity/source/dialogs/certificatechooser.cxx b/xmlsecurity/source/dialogs/certificatechooser.cxx index e86ba42d6a3d..d8fb708eaa34 100644 --- a/xmlsecurity/source/dialogs/certificatechooser.cxx +++ b/xmlsecurity/source/dialogs/certificatechooser.cxx @@ -132,7 +132,7 @@ void CertificateChooser::ImplInitialize() for( sal_Int32 nCert = nCertificates; nCert; ) { uno::Reference< security::XCertificate > xCert = maCerts[ --nCert ]; - sal_Bool bIgnoreThis = false; + bool bIgnoreThis = false; // Do we already use that? if( nCertificatesToIgnore ) @@ -194,7 +194,7 @@ uno::Reference< css::security::XCertificate > CertificateChooser::GetSelectedCer IMPL_LINK_NOARG(CertificateChooser, CertificateHighlightHdl) { - sal_Bool bEnable = GetSelectedCertificate().is(); + bool bEnable = GetSelectedCertificate().is(); m_pViewBtn->Enable( bEnable ); m_pOKBtn->Enable( bEnable ); return 0; diff --git a/xmlsecurity/source/dialogs/certificateviewer.cxx b/xmlsecurity/source/dialogs/certificateviewer.cxx index 212f2996a3f3..d43e4c05881f 100644 --- a/xmlsecurity/source/dialogs/certificateviewer.cxx +++ b/xmlsecurity/source/dialogs/certificateviewer.cxx @@ -187,7 +187,7 @@ CertificateViewerGeneralTP::CertificateViewerGeneralTP( Window* _pParent, Certif XmlSec::AlignAfterImage( maKeyImg, maHintCorrespPrivKeyFI, 12 ); // Check if we have the private key... - sal_Bool bHasPrivateKey = sal_False; + bool bHasPrivateKey = false; // #i41270# Check only if we have that certificate in our security environment if ( _pDlg->mbCheckForPrivateKey ) { diff --git a/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx b/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx index 9f277cc7e12d..1e471d95cdb4 100644 --- a/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx +++ b/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx @@ -163,7 +163,7 @@ bool DigitalSignaturesDialog::isXML(const OUString& rURI ) DigitalSignaturesDialog::DigitalSignaturesDialog( Window* pParent, uno::Reference< uno::XComponentContext >& rxCtx, DocumentSignatureMode eMode, - sal_Bool bReadOnly, const OUString& sODFVersion, bool bHasDocumentSignature) + bool bReadOnly, const OUString& sODFVersion, bool bHasDocumentSignature) : ModalDialog(pParent, "DigitalSignaturesDialog", "xmlsec/ui/digitalsignaturesdialog.ui") , mxCtx(rxCtx) , maSignatureHelper(rxCtx) @@ -235,7 +235,7 @@ DigitalSignaturesDialog::~DigitalSignaturesDialog() delete m_pSignaturesLB; } -sal_Bool DigitalSignaturesDialog::Init() +bool DigitalSignaturesDialog::Init() { bool bInit = maSignatureHelper.Init(); diff --git a/xmlsecurity/source/dialogs/macrosecurity.cxx b/xmlsecurity/source/dialogs/macrosecurity.cxx index 62c054ce7dfe..3c9eaebe0c6d 100644 --- a/xmlsecurity/source/dialogs/macrosecurity.cxx +++ b/xmlsecurity/source/dialogs/macrosecurity.cxx @@ -109,7 +109,7 @@ MacroSecurityLevelTP::MacroSecurityLevelTP(Window* _pParent, MacroSecurity* _pDl m_pVeryHighRB->SetClickHdl( LINK( this, MacroSecurityLevelTP, RadioButtonHdl ) ); mnCurLevel = (sal_uInt16) mpDlg->maSecOptions.GetMacroSecurityLevel(); - sal_Bool bReadonly = mpDlg->maSecOptions.IsReadOnly( SvtSecurityOptions::E_MACRO_SECLEVEL ); + bool bReadonly = mpDlg->maSecOptions.IsReadOnly( SvtSecurityOptions::E_MACRO_SECLEVEL ); RadioButton* pCheck = 0; FixedImage* pImage = 0; |