From 392cfd62f6fd6fc505b644b67938ea30131eb837 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Tue, 9 May 2017 12:19:56 -0700 Subject: Remove FPDFPageObj_NewImgeObj(). Callers should use FPDFPageObj_NewImageObj() instead. Change-Id: If9f262af771344799a372645e466d3b8e64482ed Reviewed-on: https://pdfium-review.googlesource.com/5153 Reviewed-by: dsinclair Commit-Queue: Lei Zhang --- fpdfsdk/fpdfeditimg.cpp | 5 ----- fpdfsdk/fpdfview_c_api_test.c | 1 - public/fpdf_edit.h | 9 --------- 3 files changed, 15 deletions(-) diff --git a/fpdfsdk/fpdfeditimg.cpp b/fpdfsdk/fpdfeditimg.cpp index 4738bd1325..1207ecf06d 100644 --- a/fpdfsdk/fpdfeditimg.cpp +++ b/fpdfsdk/fpdfeditimg.cpp @@ -53,11 +53,6 @@ FPDFPageObj_NewImageObj(FPDF_DOCUMENT document) { return pImageObj.release(); } -DLLEXPORT FPDF_PAGEOBJECT STDCALL -FPDFPageObj_NewImgeObj(FPDF_DOCUMENT document) { - return FPDFPageObj_NewImageObj(document); -} - DLLEXPORT FPDF_BOOL STDCALL FPDFImageObj_LoadJpegFile(FPDF_PAGE* pages, int nCount, diff --git a/fpdfsdk/fpdfview_c_api_test.c b/fpdfsdk/fpdfview_c_api_test.c index 1606abbf08..fe56b1a345 100644 --- a/fpdfsdk/fpdfview_c_api_test.c +++ b/fpdfsdk/fpdfview_c_api_test.c @@ -83,7 +83,6 @@ int CheckPDFiumCApi() { CHK(FPDFPageObj_Transform); CHK(FPDFPage_TransformAnnots); CHK(FPDFPageObj_NewImageObj); - CHK(FPDFPageObj_NewImgeObj); CHK(FPDFImageObj_LoadJpegFile); CHK(FPDFImageObj_LoadJpegFileInline); CHK(FPDFImageObj_SetMatrix); diff --git a/public/fpdf_edit.h b/public/fpdf_edit.h index 5784b90feb..f9edfa3426 100644 --- a/public/fpdf_edit.h +++ b/public/fpdf_edit.h @@ -196,15 +196,6 @@ DLLEXPORT void STDCALL FPDFPage_TransformAnnots(FPDF_PAGE page, DLLEXPORT FPDF_PAGEOBJECT STDCALL FPDFPageObj_NewImageObj(FPDF_DOCUMENT document); -// Create a new image object. -// DEPRECATED. Please use FPDFPageObj_NewImageObj() above. -// -// document - handle to a document. -// -// Returns a handle to a new image object. -DLLEXPORT FPDF_PAGEOBJECT STDCALL -FPDFPageObj_NewImgeObj(FPDF_DOCUMENT document); - // Load an image from a JPEG image file and then set it into |image_object|. // // pages - pointer to the start of all loaded pages, may be NULL. -- cgit v1.2.3