Index: fpdfsdk/fpdfxfa/fpdfxfa_doc.cpp |
diff --git a/fpdfsdk/fpdfxfa/fpdfxfa_doc.cpp b/fpdfsdk/fpdfxfa/fpdfxfa_doc.cpp |
index f8e3d52690c4a615266a027c9ca075acd38d0cd3..aa85c929150bc058ed4a4fc377718ba574355723 100644 |
--- a/fpdfsdk/fpdfxfa/fpdfxfa_doc.cpp |
+++ b/fpdfsdk/fpdfxfa/fpdfxfa_doc.cpp |
@@ -108,7 +108,7 @@ FX_BOOL CPDFXFA_Document::LoadXFADoc() { |
return TRUE; |
} |
-int CPDFXFA_Document::GetPageCount() const { |
+int CPDFXFA_Document::GetXFAPageCount() const { |
if (!m_pPDFDoc && !m_pXFADoc) |
return 0; |
@@ -136,7 +136,7 @@ CPDFXFA_Page* CPDFXFA_Document::GetXFAPage(int page_index) { |
if (pPage) |
pPage->Retain(); |
} else { |
- m_nPageCount = GetPageCount(); |
+ m_nPageCount = GetXFAPageCount(); |
m_XFAPageList.SetSize(m_nPageCount); |
} |
if (pPage) |