diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-27 15:28:41 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-27 15:31:00 +0200 |
commit | 3591554df303958e519d8758acd595975809c827 (patch) | |
tree | 07189361437b7aee68cb61c0ed18cb7289dd6400 /sal/osl/unx/profile.cxx | |
parent | badc69d73ae2da5ddc68d93a3e327104253a0598 (diff) |
More loplugin:simplifybool
Change-Id: I9414d9167213c0156fb97559a8af5e55a4e1c1de
Diffstat (limited to 'sal/osl/unx/profile.cxx')
-rw-r--r-- | sal/osl/unx/profile.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sal/osl/unx/profile.cxx b/sal/osl/unx/profile.cxx index 4feb4ebfb8b0..00d0b44e8219 100644 --- a/sal/osl/unx/profile.cxx +++ b/sal/osl/unx/profile.cxx @@ -196,7 +196,7 @@ sal_Bool SAL_CALL osl_closeProfile(oslProfile Profile) pthread_mutex_lock(&(pProfile->m_AccessLock)); - if ( pProfile->m_bIsValid == false ) + if ( !pProfile->m_bIsValid ) { SAL_WARN("sal.osl", "!pProfile->m_bIsValid"); pthread_mutex_unlock(&(pProfile->m_AccessLock)); @@ -293,7 +293,7 @@ sal_Bool SAL_CALL osl_flushProfile(oslProfile Profile) pthread_mutex_lock(&(pProfile->m_AccessLock)); - if ( pProfile->m_bIsValid == false ) + if ( !pProfile->m_bIsValid ) { SAL_WARN_IF(!pProfile->m_bIsValid, "sal.osl", "!pProfile->m_bIsValid"); pthread_mutex_unlock(&(pProfile->m_AccessLock)); @@ -370,7 +370,7 @@ sal_Bool SAL_CALL osl_readProfileString(oslProfile Profile, pthread_mutex_lock(&(pTmpProfile->m_AccessLock)); - if ( pTmpProfile->m_bIsValid == false ) + if ( !pTmpProfile->m_bIsValid ) { pthread_mutex_unlock(&(pTmpProfile->m_AccessLock)); @@ -504,7 +504,7 @@ sal_Bool SAL_CALL osl_writeProfileString(oslProfile Profile, pthread_mutex_lock(&(pTmpProfile->m_AccessLock)); - if ( pTmpProfile->m_bIsValid == false ) + if ( !pTmpProfile->m_bIsValid ) { SAL_WARN_IF(!pTmpProfile->m_bIsValid, "sal.osl", "!pTmpProfile->m_bIsValid"); pthread_mutex_unlock(&(pTmpProfile->m_AccessLock)); @@ -657,7 +657,7 @@ sal_Bool SAL_CALL osl_removeProfileEntry(oslProfile Profile, pthread_mutex_lock(&(pTmpProfile->m_AccessLock)); - if ( pTmpProfile->m_bIsValid == false ) + if ( !pTmpProfile->m_bIsValid ) { SAL_WARN_IF(!pTmpProfile->m_bIsValid, "sal.osl", "!pTmpProfile->m_bIsValid"); pthread_mutex_unlock(&(pTmpProfile->m_AccessLock)); @@ -727,7 +727,7 @@ sal_uInt32 SAL_CALL osl_getProfileSectionEntries(oslProfile Profile, pthread_mutex_lock(&(pTmpProfile->m_AccessLock)); - if ( pTmpProfile->m_bIsValid == false ) + if ( !pTmpProfile->m_bIsValid ) { SAL_WARN_IF(!pTmpProfile->m_bIsValid, "sal.osl", "!pTmpProfile->m_bIsValid"); @@ -810,7 +810,7 @@ sal_uInt32 SAL_CALL osl_getProfileSections(oslProfile Profile, pthread_mutex_lock(&(pTmpProfile->m_AccessLock)); - if ( pTmpProfile->m_bIsValid == false ) + if ( !pTmpProfile->m_bIsValid ) { SAL_WARN_IF(!pTmpProfile->m_bIsValid, "sal.osl", "!pTmpProfile->m_bIsValid"); pthread_mutex_unlock(&(pTmpProfile->m_AccessLock)); |