refactoring

This commit is contained in:
Oleg Korshul
2017-10-25 18:22:51 +03:00
parent 113d5b4ca3
commit f2af1ccd36
2 changed files with 4 additions and 1 deletions

View File

@ -124,6 +124,8 @@ bool COfficeFileFormatChecker::isPdfFormatFile (unsigned char* pBuffer,int dwByt
pTempBuffer[nTempBufferSize - 1] = '\0';
char* pFirst = strstr( (char*)pTempBuffer, "%PDF-" );
delete [] pTempBuffer;
if( NULL != pFirst )
return true;