Merge to XFA: Remove typdefs for pointer types in fx_system.h.
[pdfium.git] / fpdfsdk / src / fpdf_transformpage.cpp
index 592b5f4..a6caf78 100644 (file)
@@ -119,9 +119,9 @@ DLLEXPORT FPDF_BOOL STDCALL FPDFPage_TransFormWithClip(FPDF_PAGE page, FS_MATRIX
                return FALSE;
        pDoc->AddIndirectObject(pStream);
 
-       pDic = FX_NEW CPDF_Dictionary;
-       CPDF_Stream* pEndStream = FX_NEW CPDF_Stream(NULL,0, pDic);
-       pEndStream->SetData((FX_LPCBYTE)" Q", 2, FALSE, FALSE);
+       pDic = new CPDF_Dictionary;
+       CPDF_Stream* pEndStream = new CPDF_Stream(NULL,0, pDic);
+       pEndStream->SetData((const uint8_t*)" Q", 2, FALSE, FALSE);
        pDoc->AddIndirectObject(pEndStream);
        
        CPDF_Array* pContentArray = NULL;