This commit is contained in:
Elena.Subbotina
2023-09-19 11:06:01 +03:00
parent 432233677c
commit 0495ea681c

View File

@ -276,7 +276,13 @@ bool COfficeFileFormatChecker::isOleObjectFile(POLE::Storage *storage)
if (isDocFormatFile(storage))
{
//nFileType inside
return true;
}
}
if (std::string::npos != Program.find("PowerPoint") || std::string::npos != UserType.find("PowerPoint"))
{
if (isPptFormatFile(storage))
{
nFileType = AVS_OFFICESTUDIO_FILE_PRESENTATION_PPT;
}
}
return true;