diff options
-rw-r--r-- | fpdfsdk/fpdf_editpage.cpp | 4 | ||||
-rw-r--r-- | fpdfsdk/fpdf_view_c_api_test.c | 1 | ||||
-rw-r--r-- | public/fpdf_edit.h | 9 |
3 files changed, 0 insertions, 14 deletions
diff --git a/fpdfsdk/fpdf_editpage.cpp b/fpdfsdk/fpdf_editpage.cpp index 0ff7a119a0..30049342ca 100644 --- a/fpdfsdk/fpdf_editpage.cpp +++ b/fpdfsdk/fpdf_editpage.cpp @@ -267,10 +267,6 @@ FPDFPage_RemoveObject(FPDF_PAGE page, FPDF_PAGEOBJECT page_obj) { return pPage->RemovePageObject(pPageObj); } -FPDF_EXPORT int FPDF_CALLCONV FPDFPage_CountObject(FPDF_PAGE page) { - return FPDFPage_CountObjects(page); -} - FPDF_EXPORT int FPDF_CALLCONV FPDFPage_CountObjects(FPDF_PAGE page) { CPDF_Page* pPage = CPDFPageFromFPDFPage(page); if (!IsPageObject(pPage)) diff --git a/fpdfsdk/fpdf_view_c_api_test.c b/fpdfsdk/fpdf_view_c_api_test.c index 393a8f66e8..2c8665156e 100644 --- a/fpdfsdk/fpdf_view_c_api_test.c +++ b/fpdfsdk/fpdf_view_c_api_test.c @@ -172,7 +172,6 @@ int CheckPDFiumCApi() { CHK(FPDFPageObj_SetStrokeColor); CHK(FPDFPageObj_SetStrokeWidth); CHK(FPDFPageObj_Transform); - CHK(FPDFPage_CountObject); CHK(FPDFPage_CountObjects); CHK(FPDFPage_Delete); CHK(FPDFPage_GenerateContent); diff --git a/public/fpdf_edit.h b/public/fpdf_edit.h index 577ae7fac1..dcf6201fe8 100644 --- a/public/fpdf_edit.h +++ b/public/fpdf_edit.h @@ -178,15 +178,6 @@ FPDFPage_RemoveObject(FPDF_PAGE page, FPDF_PAGEOBJECT page_obj); // page - handle to a page. // // Returns the number of objects in |page|. -// -// DEPRECATED. Please use FPDFPage_CountObjects. -FPDF_EXPORT int FPDF_CALLCONV FPDFPage_CountObject(FPDF_PAGE page); - -// Get number of page objects inside |page|. -// -// page - handle to a page. -// -// Returns the number of objects in |page|. FPDF_EXPORT int FPDF_CALLCONV FPDFPage_CountObjects(FPDF_PAGE page); // Get object in |page| at |index|. |