diff options
author | dsinclair <dsinclair@chromium.org> | 2016-09-14 10:38:17 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-09-14 10:38:17 -0700 |
commit | 1f2489023f2b808c41071d992abceb646ade8e1b (patch) | |
tree | 34fedda2eeb4f5f98397d5ec81a3f9b46d5c8d51 /fpdfsdk/cpdfsdk_document.cpp | |
parent | 8b1ed16144925205a34e3796b57db72dd6ee6a89 (diff) | |
download | pdfium-1f2489023f2b808c41071d992abceb646ade8e1b.tar.xz |
Remove FFI_ from CPDFSDK_Environment method names
The prefix doesn't add anything when used in CPDFSDK_Environment, remove.
Review-Url: https://codereview.chromium.org/2338303002
Diffstat (limited to 'fpdfsdk/cpdfsdk_document.cpp')
-rw-r--r-- | fpdfsdk/cpdfsdk_document.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fpdfsdk/cpdfsdk_document.cpp b/fpdfsdk/cpdfsdk_document.cpp index c175089b0e..fc09e8a796 100644 --- a/fpdfsdk/cpdfsdk_document.cpp +++ b/fpdfsdk/cpdfsdk_document.cpp @@ -66,13 +66,13 @@ CPDFSDK_PageView* CPDFSDK_Document::GetPageView( CPDFSDK_PageView* CPDFSDK_Document::GetCurrentView() { UnderlyingPageType* pPage = - UnderlyingFromFPDFPage(m_pEnv->FFI_GetCurrentPage(m_pDoc)); + UnderlyingFromFPDFPage(m_pEnv->GetCurrentPage(m_pDoc)); return pPage ? GetPageView(pPage, true) : nullptr; } CPDFSDK_PageView* CPDFSDK_Document::GetPageView(int nIndex) { UnderlyingPageType* pTempPage = - UnderlyingFromFPDFPage(m_pEnv->FFI_GetPage(m_pDoc, nIndex)); + UnderlyingFromFPDFPage(m_pEnv->GetPage(m_pDoc, nIndex)); if (!pTempPage) return nullptr; @@ -154,7 +154,7 @@ void CPDFSDK_Document::RemovePageView(UnderlyingPageType* pUnderlyingPage) { } UnderlyingPageType* CPDFSDK_Document::GetPage(int nIndex) { - return UnderlyingFromFPDFPage(m_pEnv->FFI_GetPage(m_pDoc, nIndex)); + return UnderlyingFromFPDFPage(m_pEnv->GetPage(m_pDoc, nIndex)); } CPDFSDK_InterForm* CPDFSDK_Document::GetInterForm() { @@ -231,7 +231,7 @@ FX_BOOL CPDFSDK_Document::KillFocusAnnot(FX_UINT nFlag) { int nFieldType = pWidget->GetFieldType(); if (FIELDTYPE_TEXTFIELD == nFieldType || FIELDTYPE_COMBOBOX == nFieldType) { - m_pEnv->FFI_OnSetFieldInputFocus(nullptr, nullptr, 0, FALSE); + m_pEnv->OnSetFieldInputFocus(nullptr, nullptr, 0, FALSE); } } |