mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-20 08:39:50 +08:00
added event , removed BinaryReader, correct some metods of CompoundFile
This commit is contained in:
@ -7,7 +7,7 @@ using namespace CFCPP;
|
||||
using RedBlackTree::RBTree;
|
||||
|
||||
|
||||
CFStorage::CFStorage(std::shared_ptr<const CompoundFile> compFile, std::shared_ptr<IDirectoryEntry> dirEntry) :
|
||||
CFStorage::CFStorage(std::shared_ptr<CompoundFile> compFile, std::shared_ptr<IDirectoryEntry> dirEntry) :
|
||||
CFItem(compFile)
|
||||
{
|
||||
if (dirEntry == nullptr || dirEntry->getSid() < 0)
|
||||
@ -62,7 +62,7 @@ std::shared_ptr<CFStream> CFStorage::AddStream(const std::wstring& streamName)
|
||||
throw new CFDuplicatedItemException(L"An entry with name '" + streamName + L"' is already present in storage '" + Name() + L"' ");
|
||||
}
|
||||
|
||||
return std::shared_ptr<CFStream> (new CFStream(compoundFile, dirEntry));
|
||||
return std::shared_ptr<CFStream>(new CFStream(compoundFile, dirEntry));
|
||||
}
|
||||
|
||||
std::shared_ptr<CFStream> CFStorage::GetStream(const std::wstring& streamName)
|
||||
|
||||
Reference in New Issue
Block a user