diff options
Diffstat (limited to 'sal')
-rw-r--r-- | sal/osl/w32/profile.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/osl/w32/profile.cxx b/sal/osl/w32/profile.cxx index df5dc0971b4a..728bac9935aa 100644 --- a/sal/osl/w32/profile.cxx +++ b/sal/osl/w32/profile.cxx @@ -337,7 +337,7 @@ static bool writeProfileImpl(osl_TFile* pFile) DWORD BytesWritten=0; 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; } |