diff options
Diffstat (limited to 'uui')
-rw-r--r-- | uui/source/iahndl-authentication.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/uui/source/iahndl-authentication.cxx b/uui/source/iahndl-authentication.cxx index fc5ea18bf85c..51bf286ffe5b 100644 --- a/uui/source/iahndl-authentication.cxx +++ b/uui/source/iahndl-authentication.cxx @@ -684,7 +684,7 @@ UUIInteractionHelper::handlePasswordRequest( { nMode = aDocumentPasswordRequest2.Mode; aDocumentName = aDocumentPasswordRequest2.Name; - OSL_ENSURE( bMSCryptoMode == false, "bMSCryptoMode should be false" ); + OSL_ENSURE( !bMSCryptoMode, "bMSCryptoMode should be false" ); bIsPasswordToModify = aDocumentPasswordRequest2.IsRequestPasswordToModify; bDoHandleRequest = true; @@ -695,8 +695,8 @@ UUIInteractionHelper::handlePasswordRequest( { nMode = aDocumentPasswordRequest.Mode; aDocumentName = aDocumentPasswordRequest.Name; - OSL_ENSURE( bMSCryptoMode == false, "bMSCryptoMode should be false" ); - OSL_ENSURE( bIsPasswordToModify == false, "bIsPasswordToModify should be false" ); + OSL_ENSURE( !bMSCryptoMode, "bMSCryptoMode should be false" ); + OSL_ENSURE( !bIsPasswordToModify, "bIsPasswordToModify should be false" ); bDoHandleRequest = true; } @@ -718,7 +718,7 @@ UUIInteractionHelper::handlePasswordRequest( nMode = aDocumentMSPasswordRequest.Mode; aDocumentName = aDocumentMSPasswordRequest.Name; bMSCryptoMode = true; - OSL_ENSURE( bIsPasswordToModify == false, "bIsPasswordToModify should be false" ); + OSL_ENSURE( !bIsPasswordToModify, "bIsPasswordToModify should be false" ); bDoHandleRequest = true; } |