summaryrefslogtreecommitdiff
path: root/xmlsecurity/tools/demo/util2.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmlsecurity/tools/demo/util2.cxx')
-rw-r--r--xmlsecurity/tools/demo/util2.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmlsecurity/tools/demo/util2.cxx b/xmlsecurity/tools/demo/util2.cxx
index a43078f2c..3e390c477 100644
--- a/xmlsecurity/tools/demo/util2.cxx
+++ b/xmlsecurity/tools/demo/util2.cxx
@@ -332,7 +332,7 @@ void convertDateTime( ::rtl::OUStringBuffer& rBuffer,
}
::com::sun::star::uno::Reference< ::com::sun::star::security::XCertificate >
- getCertificateFromEnvironment( ::com::sun::star::uno::Reference< ::com::sun::star::xml::crypto::XSecurityEnvironment > xSecurityEnvironment , BOOL nType)
+ getCertificateFromEnvironment( ::com::sun::star::uno::Reference< ::com::sun::star::xml::crypto::XSecurityEnvironment > xSecurityEnvironment , sal_Bool nType)
{
cssu::Sequence< cssu::Reference< ::com::sun::star::security::XCertificate > > xPersonalCerts ;
int length = 0;
@@ -345,7 +345,7 @@ void convertDateTime( ::rtl::OUStringBuffer& rBuffer,
encoding = osl_getTextEncodingFromLocale( pLocale ) ;
// CP end
- if( nType != FALSE )
+ if( nType != sal_False )
xPersonalCerts = xSecurityEnvironment->getPersonalCertificates() ;
else
return NULL; // not support then;