Kaydet (Commit) 39bbc223 authored tarafından Caolán McNamara's avatar Caolán McNamara

new throws on failure

Change-Id: Ida6250fc01e0bf156a81030c2f393838ced423fe
Reviewed-on: https://gerrit.libreoffice.org/61998
Tested-by: Jenkins
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 2bb1a0bf
......@@ -405,7 +405,7 @@ ZipFile::ZipFile(const std::wstring &FileName) :
m_bShouldFree(true)
{
m_pStream = new FileStream(FileName.c_str());
if (m_pStream && !isZipStream(m_pStream))
if (!isZipStream(m_pStream))
{
delete m_pStream;
m_pStream = nullptr;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment