Kaydet (Commit) 14916972 authored tarafından Noel Grandin's avatar Noel Grandin Kaydeden (comit) Michael Stahl

sal_Bool->bool in xmlsecurity

Change-Id: I80b20f5df179f994e5004c1ef390457c252478ef
üst b3c13b94
......@@ -62,7 +62,7 @@ private:
CancelButton maCancelBtn;
HelpButton maHelpBtn;
sal_Bool mbInitialized;
bool mbInitialized;
sal_uInt16 GetSelectedEntryPos( void ) const;
DECL_LINK(ViewButtonHdl, void *);
......
......@@ -54,12 +54,12 @@ private:
OKButton maOkBtn;
HelpButton maHelpBtn;
sal_Bool mbCheckForPrivateKey;
bool mbCheckForPrivateKey;
cssu::Reference< dcss::xml::crypto::XSecurityEnvironment > mxSecurityEnvironment;
cssu::Reference< dcss::security::XCertificate > mxCert;
public:
CertificateViewer( Window* pParent, const cssu::Reference< dcss::xml::crypto::XSecurityEnvironment >& rxSecurityEnvironment, const cssu::Reference< dcss::security::XCertificate >& rXCert, sal_Bool bCheckForPrivateKey );
CertificateViewer( Window* pParent, const cssu::Reference< dcss::xml::crypto::XSecurityEnvironment >& rxSecurityEnvironment, const cssu::Reference< dcss::security::XCertificate >& rXCert, bool bCheckForPrivateKey );
virtual ~CertificateViewer();
};
......
......@@ -143,8 +143,8 @@ private:
cssu::Sequence< SvtSecurityOptions::Certificate > maTrustedAuthors;
sal_Bool mbAuthorsReadonly;
sal_Bool mbURLsReadonly;
bool mbAuthorsReadonly;
bool mbURLsReadonly;
DECL_LINK( ViewCertPBHdl, void* );
DECL_LINK( RemoveCertPBHdl, void* );
......
......@@ -76,7 +76,7 @@ CertificateChooser::CertificateChooser( Window* _pParent, uno::Reference< uno::X
mxCtx = _rxCtx;
mxSecurityEnvironment = _rxSecurityEnvironment;
mbInitialized = sal_False;
mbInitialized = false;
// disable buttons
CertificateHighlightHdl( NULL );
......@@ -183,7 +183,7 @@ void CertificateChooser::ImplInitialize()
// enable/disable buttons
CertificateHighlightHdl( NULL );
mbInitialized = sal_True;
mbInitialized = true;
}
}
......
......@@ -51,7 +51,7 @@ namespace
CertificateViewer::CertificateViewer(
Window* _pParent,
const cssu::Reference< dcss::xml::crypto::XSecurityEnvironment >& _rxSecurityEnvironment,
const cssu::Reference< dcss::security::XCertificate >& _rXCert, sal_Bool bCheckForPrivateKey )
const cssu::Reference< dcss::security::XCertificate >& _rXCert, bool bCheckForPrivateKey )
:TabDialog ( _pParent, XMLSEC_RES( RID_XMLSECDLG_CERTVIEWER ) )
,maTabCtrl ( this, XMLSEC_RES( 1 ) )
,maOkBtn ( this, XMLSEC_RES( BTN_OK ) )
......@@ -456,7 +456,7 @@ IMPL_LINK_NOARG(CertificateViewerCertPathTP, ViewCertHdl)
SvLBoxEntry* pEntry = maCertPathLB.FirstSelected();
if( pEntry )
{
CertificateViewer aViewer( this, mpDlg->mxSecurityEnvironment, ((CertPath_UserData*)pEntry->GetUserData())->mxCert, sal_False );
CertificateViewer aViewer( this, mpDlg->mxSecurityEnvironment, ((CertPath_UserData*)pEntry->GetUserData())->mxCert, false );
aViewer.Execute();
}
......
......@@ -751,7 +751,7 @@ void DigitalSignaturesDialog::ImplShowSignaturesDetails()
DBG_ASSERT( xCert.is(), "Error getting cCertificate!" );
if ( xCert.is() )
{
CertificateViewer aViewer( this, maSignatureHelper.GetSecurityEnvironment(), xCert, sal_False );
CertificateViewer aViewer( this, maSignatureHelper.GetSecurityEnvironment(), xCert, false );
aViewer.Execute();
}
}
......
......@@ -203,7 +203,7 @@ IMPL_LINK_NOARG(MacroSecurityTrustedSourcesTP, ViewCertPBHdl)
if ( xCert.is() )
{
CertificateViewer aViewer( this, mpDlg->mxSecurityEnvironment, xCert, sal_False );
CertificateViewer aViewer( this, mpDlg->mxSecurityEnvironment, xCert, false );
aViewer.Execute();
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment