From a32f1d208eb232b9b0db6346d7b8a4140fa2d4e2 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 27 Apr 2015 15:29:37 +0200 Subject: More loplugin:simplifybool Change-Id: I0bb14b3470728b75d8af2ff0d351fa11ceef083a --- uui/source/iahndl-authentication.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'uui') 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; } -- cgit