summaryrefslogtreecommitdiff
path: root/core/fpdfapi/fpdf_edit/editint.h
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-03-25 15:18:35 -0700
committerCommit bot <commit-bot@chromium.org>2016-03-25 15:18:36 -0700
commitb5e8f14e3eefc5da995b332788d3203cee204883 (patch)
tree34fc80504d2034013b18f30df1b0f6f1a94e2d70 /core/fpdfapi/fpdf_edit/editint.h
parent6d18bd3b8ec82ae3c24a439f5c7925786a0e2d8b (diff)
downloadpdfium-b5e8f14e3eefc5da995b332788d3203cee204883.tar.xz
Remove FX_DWORD from core/ and delete definitionchromium/2695chromium/2694chromium/2693chromium/2692
Review URL: https://codereview.chromium.org/1832173003
Diffstat (limited to 'core/fpdfapi/fpdf_edit/editint.h')
-rw-r--r--core/fpdfapi/fpdf_edit/editint.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/core/fpdfapi/fpdf_edit/editint.h b/core/fpdfapi/fpdf_edit/editint.h
index eaf93d12da..69a64b9aba 100644
--- a/core/fpdfapi/fpdf_edit/editint.h
+++ b/core/fpdfapi/fpdf_edit/editint.h
@@ -22,46 +22,46 @@ class CPDF_ObjectStream {
FX_BOOL Start();
- int32_t CompressIndirectObject(FX_DWORD dwObjNum, const CPDF_Object* pObj);
- int32_t CompressIndirectObject(FX_DWORD dwObjNum,
+ int32_t CompressIndirectObject(uint32_t dwObjNum, const CPDF_Object* pObj);
+ int32_t CompressIndirectObject(uint32_t dwObjNum,
const uint8_t* pBuffer,
- FX_DWORD dwSize);
+ uint32_t dwSize);
FX_FILESIZE End(CPDF_Creator* pCreator);
- CFX_ArrayTemplate<FX_DWORD> m_ObjNumArray;
+ CFX_ArrayTemplate<uint32_t> m_ObjNumArray;
CFX_ByteTextBuf m_Buffer;
- FX_DWORD m_dwObjNum;
+ uint32_t m_dwObjNum;
int32_t m_index;
protected:
- CFX_ArrayTemplate<FX_DWORD> m_OffsetArray;
+ CFX_ArrayTemplate<uint32_t> m_OffsetArray;
};
class CPDF_XRefStream {
public:
struct Index {
- FX_DWORD objnum;
- FX_DWORD count;
+ uint32_t objnum;
+ uint32_t count;
};
CPDF_XRefStream();
FX_BOOL Start();
- int32_t CompressIndirectObject(FX_DWORD dwObjNum,
+ int32_t CompressIndirectObject(uint32_t dwObjNum,
const CPDF_Object* pObj,
CPDF_Creator* pCreator);
- int32_t CompressIndirectObject(FX_DWORD dwObjNum,
+ int32_t CompressIndirectObject(uint32_t dwObjNum,
const uint8_t* pBuffer,
- FX_DWORD dwSize,
+ uint32_t dwSize,
CPDF_Creator* pCreator);
FX_BOOL End(CPDF_Creator* pCreator, FX_BOOL bEOF = FALSE);
- void AddObjectNumberToIndexArray(FX_DWORD objnum);
+ void AddObjectNumberToIndexArray(uint32_t objnum);
FX_BOOL EndXRefStream(CPDF_Creator* pCreator);
std::vector<Index> m_IndexArray;
FX_FILESIZE m_PrevOffset;
- FX_DWORD m_dwTempObjNum;
+ uint32_t m_dwTempObjNum;
protected:
int32_t EndObjectStream(CPDF_Creator* pCreator, FX_BOOL bEOF = TRUE);