diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-01-27 10:09:40 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-27 11:14:35 +0000 |
commit | d6868cfa1b72a2a4dd7f960880b1f5a3034c939e (patch) | |
tree | f15167a3913338f75240ca97d74462c115b91801 /sal | |
parent | b89a1e26d658e5263aac13c1a3fa080c3f9563e5 (diff) |
coverity#982254 Same on both sides
Change-Id: Ibb3b8b4a3f29b46ada9824f7c7d15a0d87d60e23
Diffstat (limited to 'sal')
-rw-r--r-- | sal/qa/osl/file/osl_File.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/qa/osl/file/osl_File.cxx b/sal/qa/osl/file/osl_File.cxx index 76419a73f1a2..5502cc6c0ee0 100644 --- a/sal/qa/osl/file/osl_File.cxx +++ b/sal/qa/osl/file/osl_File.cxx @@ -1417,7 +1417,7 @@ namespace osl_FileBase { nError1 = FileBase::createTempFile( pUStr_DirURL, pHandle, 0 ); //the temp file will be removed when return from createTempFile - bOK = ( pHandle != NULL && pHandle != 0); + bOK = (pHandle != NULL && nError1 == osl::FileBase::E_None); if ( sal_True == bOK ) osl_closeFile( *pHandle ); |