Cleanup: Get rid of CPDF_Reference::Create().
[pdfium.git] / core / src / fpdfapi / fpdf_edit / editint.h
index 38c3343..4aec32a 100644 (file)
@@ -1,13 +1,13 @@
 // Copyright 2014 PDFium Authors. All rights reserved.
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
+
 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
 
 #ifndef CORE_SRC_FPDFAPI_FPDF_EDIT_EDITINT_H_
 #define CORE_SRC_FPDFAPI_FPDF_EDIT_EDITINT_H_
 
-class CPDF_ObjectStream 
+class CPDF_ObjectStream
 {
 public:
     CPDF_ObjectStream();
@@ -15,7 +15,7 @@ public:
     FX_BOOL                            Start();
 
     int32_t                    CompressIndirectObject(FX_DWORD dwObjNum, const CPDF_Object *pObj);
-    int32_t                    CompressIndirectObject(FX_DWORD dwObjNum, FX_LPCBYTE pBuffer, FX_DWORD dwSize);
+    int32_t                    CompressIndirectObject(FX_DWORD dwObjNum, const uint8_t* pBuffer, FX_DWORD dwSize);
 
     FX_FILESIZE                        End(CPDF_Creator* pCreator);
 
@@ -28,7 +28,7 @@ protected:
 
     CFX_DWordArray             m_OffsetArray;
 };
-class CPDF_XRefStream 
+class CPDF_XRefStream
 {
 public:
 
@@ -38,7 +38,7 @@ public:
 
     int32_t                    CompressIndirectObject(FX_DWORD dwObjNum, const CPDF_Object *pObj, CPDF_Creator *pCreator);
 
-    int32_t                    CompressIndirectObject(FX_DWORD dwObjNum, FX_LPCBYTE pBuffer, FX_DWORD dwSize, CPDF_Creator *pCreator);
+    int32_t                    CompressIndirectObject(FX_DWORD dwObjNum, const uint8_t* pBuffer, FX_DWORD dwSize, CPDF_Creator *pCreator);
 
     FX_BOOL                            End(CPDF_Creator *pCreator, FX_BOOL bEOF = FALSE);
     FX_BOOL                            AddObjectNumberToIndexArray(FX_DWORD objnum);