From a7d2c15eff693a49b520b0ac8531620197c45ea5 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Tue, 13 Jun 2017 17:33:18 -0700 Subject: 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 Reviewed-by: dsinclair --- fpdfsdk/fpdfformfill.cpp | 7 ------- fpdfsdk/fpdfview_c_api_test.c | 1 - 2 files changed, 8 deletions(-) (limited to 'fpdfsdk') 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); -- cgit v1.2.3