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 - 2 files changed, 6 deletions(-) (limited to 'fpdfsdk') 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); -- cgit v1.2.3