DocxFormat - fix write bookmarks

This commit is contained in:
ElenaSubbotina
2018-03-15 14:51:13 +03:00
parent 140b511c7e
commit 7dc887ff51
2 changed files with 393 additions and 402 deletions

View File

@ -536,11 +536,11 @@ bool COfficeFileFormatChecker::isOpenOfficeFormatFile(const std::wstring & fileN
}
else if ( NULL != strstr((char*)pBuffer, ottFormatLine) )
{
nFileType = AVS_OFFICESTUDIO_FILE_PRESENTATION_OTT;
nFileType = AVS_OFFICESTUDIO_FILE_DOCUMENT_OTT;
}
else if ( NULL != strstr((char*)pBuffer, otsFormatLine) )
{
nFileType = AVS_OFFICESTUDIO_FILE_PRESENTATION_OTS;
nFileType = AVS_OFFICESTUDIO_FILE_SPREADSHEET_OTS;
}
else if ( NULL != strstr((char*)pBuffer, otpFormatLine) )
{