diff options
author | thestig <thestig@chromium.org> | 2016-05-23 16:55:09 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-05-23 16:55:09 -0700 |
commit | db1a24e86d40977fb6d8aa8fa57dadee4c2f1be1 (patch) | |
tree | e55123ef697226a15ccbb87f36bb52f5833a285d /fpdfsdk/fpdfformfill.cpp | |
parent | 27ddf161579f79510b361d0016ccc7f0cdffdc6d (diff) | |
download | pdfium-db1a24e86d40977fb6d8aa8fa57dadee4c2f1be1.tar.xz |
Remove dead code from CPDF_InterForm.
Clean up related code.
Review-Url: https://codereview.chromium.org/2003853003
Diffstat (limited to 'fpdfsdk/fpdfformfill.cpp')
-rw-r--r-- | fpdfsdk/fpdfformfill.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fpdfsdk/fpdfformfill.cpp b/fpdfsdk/fpdfformfill.cpp index 438150974d..81c5dd7a12 100644 --- a/fpdfsdk/fpdfformfill.cpp +++ b/fpdfsdk/fpdfformfill.cpp @@ -64,7 +64,7 @@ DLLEXPORT int STDCALL FPDFPage_HasFormFieldAtPoint(FPDF_FORMHANDLE hHandle, return -1; CPDF_Page* pPage = CPDFPageFromFPDFPage(page); if (pPage) { - CPDF_InterForm interform(pPage->m_pDocument, FALSE); + CPDF_InterForm interform(pPage->m_pDocument); CPDF_FormControl* pFormCtrl = interform.GetControlAtPoint(pPage, static_cast<FX_FLOAT>(page_x), static_cast<FX_FLOAT>(page_y), nullptr); @@ -134,7 +134,7 @@ DLLEXPORT int STDCALL FPDFPage_FormFieldZOrderAtPoint(FPDF_FORMHANDLE hHandle, CPDF_Page* pPage = CPDFPageFromFPDFPage(page); if (!pPage) return -1; - CPDF_InterForm interform(pPage->m_pDocument, FALSE); + CPDF_InterForm interform(pPage->m_pDocument); int z_order = -1; (void)interform.GetControlAtPoint(pPage, (FX_FLOAT)page_x, (FX_FLOAT)page_y, &z_order); |