mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-02-10 18:05:41 +08:00
.
This commit is contained in:
@ -44,6 +44,7 @@ RoundTripExtractor::RoundTripExtractor(const CUnknownRoundTrip* rt, const std::w
|
||||
|
||||
RoundTripExtractor::~RoundTripExtractor()
|
||||
{
|
||||
NSDirectory::DeleteDirectory(m_extractedFolderPath);
|
||||
}
|
||||
|
||||
vector_string RoundTripExtractor::find(const std::wstring& strRegEx) const
|
||||
@ -91,7 +92,7 @@ bool RoundTripExtractor::extract()
|
||||
COfficeUtils officeUtils(NULL);
|
||||
m_extractedFolderPath = NSDirectory::CreateDirectoryWithUniqueName(m_tempPath);
|
||||
|
||||
if (m_extractedFolderPath.empty()) return false;
|
||||
if (m_extractedFolderPath.empty())
|
||||
{
|
||||
NSFile::CFileBinary::Remove(tempZipPath);
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user