fix creating compoundfile

This commit is contained in:
Ivan Morozov
2022-09-22 00:16:46 +03:00
parent 046e54f3f5
commit 98798e39c6
4 changed files with 46 additions and 7 deletions

View File

@ -10,7 +10,6 @@ StreamView::StreamView(const SVector<Sector> &sectorChain, int sectorSize, Strea
// if (sectorChain == null)
// throw CFException("Sector Chain cannot be null");
auto pos = stream->tell();
if (sectorSize <= 0)
throw CFException("Sector size must be greater than zero");
}