diff options
author | Lei Zhang <thestig@chromium.org> | 2017-06-13 17:33:18 -0700 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-06-14 13:18:01 +0000 |
commit | a7d2c15eff693a49b520b0ac8531620197c45ea5 (patch) | |
tree | fece6f7a08f4eb7c88e5470ea3d9773c3330a885 | |
parent | 0698c856aaa3e54574f306c35397d6b792a95a3e (diff) | |
download | pdfium-a7d2c15eff693a49b520b0ac8531620197c45ea5.tar.xz |
Remove deprecated FPDPage_HasFormFieldAtPoint().
It has been deprecated for 2 years now.
Use FPDFPage_HasFormFieldAtPoint() instead.
Change-Id: I1a5f88b404fbda40f491f9d2001ef3e7788e95a0
Reviewed-on: https://pdfium-review.googlesource.com/6551
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: dsinclair <dsinclair@chromium.org>
-rw-r--r-- | fpdfsdk/fpdfformfill.cpp | 7 | ||||
-rw-r--r-- | fpdfsdk/fpdfview_c_api_test.c | 1 | ||||
-rw-r--r-- | public/fpdf_formfill.h | 9 |
3 files changed, 0 insertions, 17 deletions
diff --git a/fpdfsdk/fpdfformfill.cpp b/fpdfsdk/fpdfformfill.cpp index 00b8300095..717e9722af 100644 --- a/fpdfsdk/fpdfformfill.cpp +++ b/fpdfsdk/fpdfformfill.cpp @@ -212,13 +212,6 @@ DLLEXPORT int STDCALL FPDFPage_HasFormFieldAtPoint(FPDF_FORMHANDLE hHandle, return -1; } -DLLEXPORT int STDCALL FPDPage_HasFormFieldAtPoint(FPDF_FORMHANDLE hHandle, - FPDF_PAGE page, - double page_x, - double page_y) { - return FPDFPage_HasFormFieldAtPoint(hHandle, page, page_x, page_y); -} - DLLEXPORT int STDCALL FPDFPage_FormFieldZOrderAtPoint(FPDF_FORMHANDLE hHandle, FPDF_PAGE page, double page_x, diff --git a/fpdfsdk/fpdfview_c_api_test.c b/fpdfsdk/fpdfview_c_api_test.c index ae69d4525b..b7752775a3 100644 --- a/fpdfsdk/fpdfview_c_api_test.c +++ b/fpdfsdk/fpdfview_c_api_test.c @@ -156,7 +156,6 @@ int CheckPDFiumCApi() { CHK(FORM_OnChar); CHK(FORM_ForceToKillFocus); CHK(FPDFPage_HasFormFieldAtPoint); - CHK(FPDPage_HasFormFieldAtPoint); // DEPRECATED. Remove in the future. CHK(FPDFPage_FormFieldZOrderAtPoint); CHK(FPDF_SetFormFieldHighlightColor); CHK(FPDF_SetFormFieldHighlightAlpha); diff --git a/public/fpdf_formfill.h b/public/fpdf_formfill.h index 65be850b36..caefad78c7 100644 --- a/public/fpdf_formfill.h +++ b/public/fpdf_formfill.h @@ -1399,15 +1399,6 @@ DLLEXPORT int STDCALL FPDFPage_HasFormFieldAtPoint(FPDF_FORMHANDLE hHandle, double page_y); /** - * Function: FPDPage_HasFormFieldAtPoint - * DEPRECATED. Please use FPDFPage_HasFormFieldAtPoint. - **/ -DLLEXPORT int STDCALL FPDPage_HasFormFieldAtPoint(FPDF_FORMHANDLE hHandle, - FPDF_PAGE page, - double page_x, - double page_y); - -/** * Function: FPDFPage_FormFieldZOrderAtPoint * Get the form field z-order by point. * Parameters: |