| Index: fpdfsdk/src/fpdfeditimg.cpp
|
| diff --git a/fpdfsdk/src/fpdfeditimg.cpp b/fpdfsdk/src/fpdfeditimg.cpp
|
| index c29d2b74f848da74c8c168047c6c65c3d9827e07..6e7e1965b51d847af97c92978691fff7515fdcb4 100644
|
| --- a/fpdfsdk/src/fpdfeditimg.cpp
|
| +++ b/fpdfsdk/src/fpdfeditimg.cpp
|
| @@ -12,8 +12,8 @@ DLLEXPORT FPDF_PAGEOBJECT STDCALL FPDFPageObj_NewImgeObj(FPDF_DOCUMENT document)
|
| {
|
| if (!document)
|
| return NULL;
|
| - CPDF_ImageObject* pImageObj = FX_NEW CPDF_ImageObject;
|
| - CPDF_Image* pImg = FX_NEW CPDF_Image((CPDF_Document *)document);
|
| + CPDF_ImageObject* pImageObj = new CPDF_ImageObject;
|
| + CPDF_Image* pImg = new CPDF_Image((CPDF_Document *)document);
|
| pImageObj->m_pImage = pImg;
|
| return pImageObj;
|
| }
|
| @@ -23,8 +23,7 @@ DLLEXPORT FPDF_BOOL STDCALL FPDFImageObj_LoadJpegFile(FPDF_PAGE* pages, int nCou
|
| if (!image_object || !fileAccess)
|
| return FALSE;
|
|
|
| - IFX_FileRead* pFile = FX_NEW CPDF_CustomAccess(fileAccess);
|
| -
|
| + IFX_FileRead* pFile = new CPDF_CustomAccess(fileAccess);
|
| CPDF_ImageObject* pImgObj = (CPDF_ImageObject*)image_object;
|
| pImgObj->m_GeneralState.GetModify();
|
| for (int index=0;index<nCount;index++)
|
|
|