Kaydet (Commit) 0864947e authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:simplifybool (clang-cl)

Change-Id: Ia10e08c04fb6dfc18597fcfba3fe52cf0ba7184c
Reviewed-on: https://gerrit.libreoffice.org/68377
Tested-by: Jenkins
Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
üst 9856b68c
...@@ -337,7 +337,7 @@ static bool writeProfileImpl(osl_TFile* pFile) ...@@ -337,7 +337,7 @@ static bool writeProfileImpl(osl_TFile* pFile)
DWORD BytesWritten=0; DWORD BytesWritten=0;
BOOL bRet; BOOL bRet;
if ( !( pFile != nullptr && pFile->m_Handle != INVALID_HANDLE_VALUE ) || ( pFile->m_pWriteBuf == nullptr ) ) if ( pFile == nullptr || pFile->m_Handle == INVALID_HANDLE_VALUE || ( pFile->m_pWriteBuf == nullptr ) )
{ {
return false; return false;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment