diff options
author | dsinclair <dsinclair@chromium.org> | 2016-09-20 12:17:42 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-09-20 12:17:42 -0700 |
commit | 9f206f05eccf51089fe8a30bf52dc063ea5e2633 (patch) | |
tree | 484b1215a89619ca56b7957f07ff87f825bdcd80 /fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.cpp | |
parent | 5b7c9bbf6c26ca272706814ad3598894ce5e4e3b (diff) | |
download | pdfium-9f206f05eccf51089fe8a30bf52dc063ea5e2633.tar.xz |
Cleanup CPDFXFA and CPDF document methods
This CL renames and cleans up some methods that are similar between
CPDF_Document and CPDFXFA_Document.
Review-Url: https://codereview.chromium.org/2351673004
Diffstat (limited to 'fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.cpp')
-rw-r--r-- | fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.cpp b/fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.cpp index 3bf116e64a..7ee3cbb859 100644 --- a/fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.cpp +++ b/fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.cpp @@ -61,7 +61,7 @@ void CPDFXFA_DocEnvironment::InvalidateRect(CXFA_FFPageView* pPageView, if (m_pDocument->GetDocType() != DOCTYPE_DYNAMIC_XFA) return; - CPDFXFA_Page* pPage = m_pDocument->GetPage(pPageView); + CPDFXFA_Page* pPage = m_pDocument->GetXFAPage(pPageView); if (!pPage) return; @@ -93,7 +93,7 @@ void CPDFXFA_DocEnvironment::DisplayCaret(CXFA_FFWidget* hWidget, if (!pPageView) return; - CPDFXFA_Page* pPage = m_pDocument->GetPage(pPageView); + CPDFXFA_Page* pPage = m_pDocument->GetXFAPage(pPageView); if (!pPage) return; @@ -118,7 +118,7 @@ FX_BOOL CPDFXFA_DocEnvironment::GetPopupPos(CXFA_FFWidget* hWidget, if (!pXFAPageView) return FALSE; - CPDFXFA_Page* pPage = m_pDocument->GetPage(pXFAPageView); + CPDFXFA_Page* pPage = m_pDocument->GetXFAPage(pXFAPageView); if (!pPage) return FALSE; @@ -231,7 +231,7 @@ FX_BOOL CPDFXFA_DocEnvironment::PopupMenu(CXFA_FFWidget* hWidget, if (!pXFAPageView) return FALSE; - CPDFXFA_Page* pPage = m_pDocument->GetPage(pXFAPageView); + CPDFXFA_Page* pPage = m_pDocument->GetXFAPage(pXFAPageView); if (!pPage) return FALSE; @@ -302,7 +302,7 @@ void CPDFXFA_DocEnvironment::WidgetPostAdd(CXFA_FFWidget* hWidget, if (!pPageView) return; - CPDFXFA_Page* pXFAPage = m_pDocument->GetPage(pPageView); + CPDFXFA_Page* pXFAPage = m_pDocument->GetXFAPage(pPageView); if (!pXFAPage) return; @@ -318,7 +318,7 @@ void CPDFXFA_DocEnvironment::WidgetPreRemove(CXFA_FFWidget* hWidget, if (!pPageView) return; - CPDFXFA_Page* pXFAPage = m_pDocument->GetPage(pPageView); + CPDFXFA_Page* pXFAPage = m_pDocument->GetXFAPage(pPageView); if (!pXFAPage) return; |