mht octet-stream

This commit is contained in:
Kulikova Svetlana
2020-09-02 17:51:44 +03:00
parent a2cdc35a56
commit 4a7f9c7527
2 changed files with 3 additions and 6 deletions

View File

@ -1277,6 +1277,8 @@ private:
if(nEndBase == std::wstring::npos)
continue;
std::wstring sType = sSrcM.substr(nBase, nEndBase - nBase);
if(sType == L"octet-stream")
sType = L"jpg";
sImageName = sImageId + L"." + sType;
NSFile::CFileBinary oImageWriter;
if(oImageWriter.CreateFileW(m_sDst + L"/word/media/i" + sImageName))