Index: xfa/src/fxfa/src/app/xfa_ffdoc.cpp |
diff --git a/xfa/src/fxfa/src/app/xfa_ffdoc.cpp b/xfa/src/fxfa/src/app/xfa_ffdoc.cpp |
index 7846bdafcd4f6bdb11f5bbb2a9f5d2b26b55de70..84beae9b8b149937d36bd9709bc2f2b2a0e12921 100644 |
--- a/xfa/src/fxfa/src/app/xfa_ffdoc.cpp |
+++ b/xfa/src/fxfa/src/app/xfa_ffdoc.cpp |
@@ -253,9 +253,6 @@ FX_BOOL CXFA_FFDoc::OpenDoc(CPDF_Document* pPDFDoc) { |
return FALSE; |
} |
IFX_FileRead* pFileRead = new CXFA_FileRead2(xfaStreams); |
- if (!pFileRead) { |
- return FALSE; |
- } |
m_pPDFDoc = pPDFDoc; |
if (m_pStream) { |
m_pStream->Release(); |