Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(392)

Unified Diff: fpdfsdk/fpdfxfa/fpdfxfa_doc.cpp

Issue 2354933002: Rename CPDFXFA_Document::GetPageCount (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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)

Powered by Google App Engine
This is Rietveld 408576698