summaryrefslogtreecommitdiff
path: root/fpdfsdk/src/fpdfxfa/fpdfxfa_page.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/src/fpdfxfa/fpdfxfa_page.cpp')
-rw-r--r--fpdfsdk/src/fpdfxfa/fpdfxfa_page.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/fpdfsdk/src/fpdfxfa/fpdfxfa_page.cpp b/fpdfsdk/src/fpdfxfa/fpdfxfa_page.cpp
index cf05d4ced7..7cd72de503 100644
--- a/fpdfsdk/src/fpdfxfa/fpdfxfa_page.cpp
+++ b/fpdfsdk/src/fpdfxfa/fpdfxfa_page.cpp
@@ -69,7 +69,7 @@ FX_BOOL CPDFXFA_Page::LoadXFAPageView()
{
if (!m_pDocument)
return FALSE;
- XFA_HDOC pXFADoc = m_pDocument->GetXFADoc();
+ IXFA_Doc* pXFADoc = m_pDocument->GetXFADoc();
if (pXFADoc)
{
IXFA_DocView* pXFADocView = m_pDocument->GetXFADocView();
@@ -99,9 +99,6 @@ FX_BOOL CPDFXFA_Page::LoadPage()
return FALSE;
int iDocType = m_pDocument->GetDocType();
- CPDF_Document* pPDFDoc = m_pDocument->GetPDFDoc();
- XFA_HDOC pXFADoc = m_pDocument->GetXFADoc();
-
switch (iDocType)
{
case DOCTYPE_PDF: