From 073ecf4192469ee4485c826dcee0cb8ece1b94a2 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Thu, 11 Oct 2018 16:56:00 +0000 Subject: Rename InterForm classes to InteractiveForm. Shorten some names to try to avoid CPDF_InteractiveForm* pInteractiveForm = GetInteractiveForm(); Change-Id: I77fafd6c4cce20aa46908830afde12f87784680e Reviewed-on: https://pdfium-review.googlesource.com/c/43815 Commit-Queue: Lei Zhang Reviewed-by: Tom Sepez --- fpdfsdk/cpdfsdk_formfillenvironment.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'fpdfsdk/cpdfsdk_formfillenvironment.cpp') diff --git a/fpdfsdk/cpdfsdk_formfillenvironment.cpp b/fpdfsdk/cpdfsdk_formfillenvironment.cpp index 8f490ca2bc..568d89e96a 100644 --- a/fpdfsdk/cpdfsdk_formfillenvironment.cpp +++ b/fpdfsdk/cpdfsdk_formfillenvironment.cpp @@ -45,8 +45,8 @@ CPDFSDK_FormFillEnvironment::~CPDFSDK_FormFillEnvironment() { m_bBeingDestroyed = true; ClearAllFocusedAnnots(); - // |m_PageMap| will try to access |m_pInterForm| when it cleans itself up. - // Make sure it is deleted before |m_pInterForm|. + // |m_PageMap| will try to access |m_pInteractiveForm| when it cleans itself + // up. Make sure it is deleted before |m_pInteractiveForm|. m_PageMap.clear(); // |m_pAnnotHandlerMgr| will try to access |m_pFormFiller| when it cleans @@ -623,10 +623,10 @@ IPDF_Page* CPDFSDK_FormFillEnvironment::GetPage(int nIndex) { m_pInfo, FPDFDocumentFromCPDFDocument(m_pCPDFDoc.Get()), nIndex)); } -CPDFSDK_InterForm* CPDFSDK_FormFillEnvironment::GetInterForm() { - if (!m_pInterForm) - m_pInterForm = pdfium::MakeUnique(this); - return m_pInterForm.get(); +CPDFSDK_InteractiveForm* CPDFSDK_FormFillEnvironment::GetInteractiveForm() { + if (!m_pInteractiveForm) + m_pInteractiveForm = pdfium::MakeUnique(this); + return m_pInteractiveForm.get(); } void CPDFSDK_FormFillEnvironment::UpdateAllViews(CPDFSDK_PageView* pSender, -- cgit v1.2.3