mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-20 03:55:47 +08:00
added and passed Header and DirectoryEntry tests
This commit is contained in:
@ -1871,7 +1871,7 @@ void CompoundFile::LoadFile(std::wstring fileName)
|
||||
file.OpenFile(fileName);
|
||||
if (updateMode == CFSUpdateMode::ReadOnly)
|
||||
{
|
||||
fs.reset(new std::fstream(this->fileName, std::ios::in | std::ios::out));
|
||||
fs.reset(new std::fstream(this->fileName, std::ios::out));
|
||||
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user