From cbd8957f6c74a6fd5c3cf2bb656b9a4c80deaa71 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Wed, 15 Mar 2017 17:35:47 -0700 Subject: Move FPDFImageObj_LoadJpegHelper() into an anonymous namespace. Add public FPDFPageObj_NewImageObj() call to replace FPDFPageObj_NewImgeObj() which is missing a letter. Change-Id: I5355ee5e5bf7e6e161e2004ec7e9257c85a463f7 Reviewed-on: https://pdfium-review.googlesource.com/2840 Reviewed-by: Tom Sepez Commit-Queue: Lei Zhang --- public/fpdf_edit.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'public') diff --git a/public/fpdf_edit.h b/public/fpdf_edit.h index 423229ab33..34a47a7c83 100644 --- a/public/fpdf_edit.h +++ b/public/fpdf_edit.h @@ -185,6 +185,15 @@ DLLEXPORT void STDCALL FPDFPage_TransformAnnots(FPDF_PAGE page, // // Returns a handle to a new image object. 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|. -- cgit v1.2.3