From 22401181774dfb3882e7ad0335f1267d7885ff48 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 23 Apr 2015 18:30:45 +0200 Subject: Improved loplugin:literaltoboolconversion looking into cond. exprs. ...automatic rewriter fixes Change-Id: I6b04ca80f08f8a71ff94e309fd52f44d736751ee --- xmlsecurity/source/xmlsec/nss/x509certificate_nssimpl.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xmlsecurity') diff --git a/xmlsecurity/source/xmlsec/nss/x509certificate_nssimpl.cxx b/xmlsecurity/source/xmlsec/nss/x509certificate_nssimpl.cxx index c2c7371e5ef9..5329700f7587 100644 --- a/xmlsecurity/source/xmlsec/nss/x509certificate_nssimpl.cxx +++ b/xmlsecurity/source/xmlsec/nss/x509certificate_nssimpl.cxx @@ -204,7 +204,7 @@ OUString SAL_CALL X509Certificate_NssImpl :: getSubjectName() throw ( ::com::sun if( (*extns)->critical.data == NULL ) crit = false ; else - crit = ( (*extns)->critical.data[0] == 0xFF ) ? sal_True : sal_False ; + crit = ( (*extns)->critical.data[0] == 0xFF ) ? true : false ; pExtn->setCertExtn( (*extns)->value.data, (*extns)->value.len, reinterpret_cast(const_cast(objID.getStr())), objID.getLength(), crit ) ; xExtns[len] = pExtn ; @@ -238,7 +238,7 @@ OUString SAL_CALL X509Certificate_NssImpl :: getSubjectName() throw ( ::com::sun if( (*extns)->critical.data == NULL ) crit = false ; else - crit = ( (*extns)->critical.data[0] == 0xFF ) ? sal_True : sal_False ; + crit = ( (*extns)->critical.data[0] == 0xFF ) ? true : false ; pExtn->setCertExtn( (*extns)->value.data, (*extns)->value.len, (*extns)->id.data, (*extns)->id.len, crit ) ; break; } -- cgit