diff options
author | Lei Zhang <thestig@chromium.org> | 2016-02-22 20:32:21 -0800 |
---|---|---|
committer | Lei Zhang <thestig@chromium.org> | 2016-02-22 20:32:21 -0800 |
commit | 5eca305b1586b2107566a5c124baa5f2e00096c0 (patch) | |
tree | d2b6b17b62995b2249a28956a17ae87122f83124 /fpdfsdk/src/fpdfxfa | |
parent | d2019df0a77c5d01a336f16be054d2f373e38c54 (diff) | |
download | pdfium-5eca305b1586b2107566a5c124baa5f2e00096c0.tar.xz |
Remove foo != NULL outside of xfa/
Most of these are from the XFA branch.
R=dsinclair@chromium.org
Review URL: https://codereview.chromium.org/1720043003 .
Diffstat (limited to 'fpdfsdk/src/fpdfxfa')
-rw-r--r-- | fpdfsdk/src/fpdfxfa/fpdfxfa_page.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/fpdfsdk/src/fpdfxfa/fpdfxfa_page.cpp b/fpdfsdk/src/fpdfxfa/fpdfxfa_page.cpp index fab90a26d3..1f6aa12126 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; |