Kaydet (Commit) d6868cfa authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#982254 Same on both sides

Change-Id: Ibb3b8b4a3f29b46ada9824f7c7d15a0d87d60e23
üst b89a1e26
......@@ -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 );
......
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