This commit is contained in:
Elena.Subbotina
2023-09-12 20:15:53 +03:00
parent 8674982f52
commit fc9abc72f2

View File

@ -271,6 +271,14 @@ bool COfficeFileFormatChecker::isOleObjectFile(POLE::Storage *storage)
nFileType = AVS_OFFICESTUDIO_FILE_SPREADSHEET_XLS;
}
}
if (std::string::npos != Program.find("Word") || std::string::npos != UserType.find("Word"))
{
if (isDocFormatFile(storage))
{
//nFileType inside
return true;
}
}
return true;
}
else