diff --git a/libsearch/index/file-reader.cpp b/libsearch/index/file-reader.cpp index eb0adb3..12326ab 100644 --- a/libsearch/index/file-reader.cpp +++ b/libsearch/index/file-reader.cpp @@ -42,7 +42,7 @@ void FileReader::getTextContent(QString path, QString &textContent) if(strsfx.endsWith( "txt")) FileUtils::getTxtContent(path,textContent); } - else if(type.inherits("application/msword")) + else if(type.inherits("application/msword") || type.name() == "application/x-ole-storage") { if (strsfx.endsWith("doc")) { diff --git a/libsearch/parser/binary-parser.cpp b/libsearch/parser/binary-parser.cpp index 6a2f18c..b16deb4 100644 --- a/libsearch/parser/binary-parser.cpp +++ b/libsearch/parser/binary-parser.cpp @@ -5067,6 +5067,8 @@ bool KBinaryParser::read8DocText(FILE *pFile, const ppsInfoType *pPPS, //need more format document ptaucBytes = (UCHAR*)xfree((void*)ptaucBytes); qWarning()<<"Parser error:"<