Index: fpdfsdk/src/fpdfxfa/fpdfxfa_page.cpp |
diff --git a/fpdfsdk/src/fpdfxfa/fpdfxfa_page.cpp b/fpdfsdk/src/fpdfxfa/fpdfxfa_page.cpp |
index fab90a26d3dc67d538882d678d7fe80aa71a8511..1f6aa12126fbd5d2439b8416e48f605d0787648e 100644 |
--- a/fpdfsdk/src/fpdfxfa/fpdfxfa_page.cpp |
+++ b/fpdfsdk/src/fpdfxfa/fpdfxfa_page.cpp |
@@ -118,8 +118,6 @@ FX_BOOL CPDFXFA_Page::LoadPDFPage(CPDF_Dictionary* pageDict) { |
} |
FX_FLOAT CPDFXFA_Page::GetPageWidth() { |
- ASSERT(m_pDocument != NULL); |
- |
if (!m_pPDFPage && !m_pXFAPageView) |
return 0.0f; |
@@ -145,8 +143,6 @@ FX_FLOAT CPDFXFA_Page::GetPageWidth() { |
} |
FX_FLOAT CPDFXFA_Page::GetPageHeight() { |
- ASSERT(m_pDocument != NULL); |
- |
if (!m_pPDFPage && !m_pXFAPageView) |
return 0.0f; |
@@ -180,8 +176,6 @@ void CPDFXFA_Page::DeviceToPage(int start_x, |
int device_y, |
double* page_x, |
double* page_y) { |
- ASSERT(m_pDocument != NULL); |
- |
if (!m_pPDFPage && !m_pXFAPageView) |
return; |
@@ -229,8 +223,6 @@ void CPDFXFA_Page::GetDisplayMatrix(CFX_Matrix& matrix, |
int xSize, |
int ySize, |
int iRotate) const { |
- ASSERT(m_pDocument != NULL); |
- |
if (!m_pPDFPage && !m_pXFAPageView) |
return; |