Index: fpdfsdk/src/javascript/Document.cpp |
diff --git a/fpdfsdk/src/javascript/Document.cpp b/fpdfsdk/src/javascript/Document.cpp |
index a8da302700142c70d1c1d53b12ef0e3aebe8d2db..003820aec1988f4a21b8e8677ab1a6b1859b3486 100644 |
--- a/fpdfsdk/src/javascript/Document.cpp |
+++ b/fpdfsdk/src/javascript/Document.cpp |
@@ -779,8 +779,6 @@ FX_BOOL Document::mailDoc(IJS_Context* cc, |
FX_BOOL Document::author(IJS_Context* cc, |
CJS_PropValue& vp, |
CFX_WideString& sError) { |
- ASSERT(m_pDocument != NULL); |
- |
CPDF_Dictionary* pDictionary = |
m_pDocument->GetDocument()->GetPDFDoc()->GetInfo(); |
if (!pDictionary) |
@@ -804,8 +802,6 @@ FX_BOOL Document::author(IJS_Context* cc, |
FX_BOOL Document::info(IJS_Context* cc, |
CJS_PropValue& vp, |
CFX_WideString& sError) { |
- ASSERT(m_pDocument != NULL); |
- |
CPDF_Dictionary* pDictionary = |
m_pDocument->GetDocument()->GetPDFDoc()->GetInfo(); |
if (!pDictionary) |