Kaydet (Commit) 25570b18 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

bool improvements

Change-Id: I550337b24e6efe96bb8ac40bd6e574065e84b135
üst fa189d74
......@@ -240,7 +240,7 @@ DocumentDigitalSignatures::ImplVerifySignatures(
{
if (!rxStorage.is())
{
DBG_ASSERT(0, "Error, no XStorage provided");
DBG_ASSERT(false, "Error, no XStorage provided");
return Sequence<css::security::DocumentSignatureInformation>();
}
// First check for the InputStream, to avoid unnecessary initialization of the security environemnt...
......@@ -381,7 +381,7 @@ void DocumentDigitalSignatures::showCertificate(
if ( bInit )
{
CertificateViewer aViewer( NULL, aSignatureHelper.GetSecurityEnvironment(), _Certificate, sal_False );
CertificateViewer aViewer( NULL, aSignatureHelper.GetSecurityEnvironment(), _Certificate, false );
aViewer.Execute();
}
......
......@@ -102,12 +102,12 @@ short CertificateChooser::Execute()
Window* pMe = this;
Window* pParent = GetParent();
if ( pParent )
pParent->EnableInput( sal_False );
pParent->EnableInput( false );
pMe->Show();
pMe->Update();
ImplInitialize();
if ( pParent )
pParent->EnableInput( sal_True );
pParent->EnableInput( true );
return ModalDialog::Execute();
}
......@@ -217,7 +217,7 @@ void CertificateChooser::ImplShowCertificateDetails()
uno::Reference< css::security::XCertificate > xCert = GetSelectedCertificate();
if( xCert.is() )
{
CertificateViewer aViewer( this, mxSecurityEnvironment, xCert, sal_True );
CertificateViewer aViewer( this, mxSecurityEnvironment, xCert, true );
aViewer.Execute();
}
}
......
......@@ -589,7 +589,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
DBG_ASSERT(sal_False, "Could not find embedded certificate!");
DBG_ASSERT(false, "Could not find embedded certificate!");
}
//In case there is no embedded certificate we try to get it from a local store
......
......@@ -170,7 +170,7 @@ uno::Reference< io::XInputStream > SAL_CALL UriBindingHelper::getUriBinding( con
pStream->Seek( STREAM_SEEK_TO_END );
sal_uLong nBytes = pStream->Tell();
pStream->Seek( STREAM_SEEK_TO_BEGIN );
SvLockBytesRef xLockBytes = new SvLockBytes( pStream, sal_True );
SvLockBytesRef xLockBytes = new SvLockBytes( pStream, true );
xInputStream = new utl::OInputStreamHelper( xLockBytes, nBytes );
}
return xInputStream;
......
......@@ -129,7 +129,7 @@ void SAL_CALL XSecParser::startElement(
* a xml stream
*/
{
m_pXSecController->addStreamReference( m_currentReferenceURI, sal_False);
m_pXSecController->addStreamReference( m_currentReferenceURI, false);
m_bReferenceUnresolved = false;
}
}
......@@ -208,7 +208,7 @@ void SAL_CALL XSecParser::endElement( const OUString& aName )
* it must be a octet stream
*/
{
m_pXSecController->addStreamReference( m_currentReferenceURI, sal_True);
m_pXSecController->addStreamReference( m_currentReferenceURI, true);
m_bReferenceUnresolved = false;
}
......
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