diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-27 15:29:37 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-27 15:31:03 +0200 |
commit | a32f1d208eb232b9b0db6346d7b8a4140fa2d4e2 (patch) | |
tree | 7a492159d62135a67ce507881c6c60f36f00ed50 /uui | |
parent | 17432a57a6aba6c43a227970c17779c100292e8e (diff) |
More loplugin:simplifybool
Change-Id: I0bb14b3470728b75d8af2ff0d351fa11ceef083a
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; } |