Commit f2af1ccd authored by Oleg Korshul's avatar Oleg Korshul

refactoring

parent 113d5b4c
...@@ -124,6 +124,8 @@ bool COfficeFileFormatChecker::isPdfFormatFile (unsigned char* pBuffer,int dwByt ...@@ -124,6 +124,8 @@ bool COfficeFileFormatChecker::isPdfFormatFile (unsigned char* pBuffer,int dwByt
pTempBuffer[nTempBufferSize - 1] = '\0'; pTempBuffer[nTempBufferSize - 1] = '\0';
char* pFirst = strstr( (char*)pTempBuffer, "%PDF-" ); char* pFirst = strstr( (char*)pTempBuffer, "%PDF-" );
delete [] pTempBuffer;
if( NULL != pFirst ) if( NULL != pFirst )
return true; return true;
......
...@@ -32,7 +32,8 @@ SOURCES += \ ...@@ -32,7 +32,8 @@ SOURCES += \
SOURCES += \ SOURCES += \
../../Common/OfficeFileFormatChecker2.cpp \ ../../Common/OfficeFileFormatChecker2.cpp \
../../Common/3dParty/pole/pole.cpp ../../Common/3dParty/pole/pole.cpp \
../../Common/DocxFormat/Source/Base/unicode_util.cpp
HEADERS += doctrenderer.h \ HEADERS += doctrenderer.h \
docbuilder.h \ docbuilder.h \
......
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