diff options
Diffstat (limited to 'core/fpdfapi/edit/cpdf_xrefstream.h')
-rw-r--r-- | core/fpdfapi/edit/cpdf_xrefstream.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/core/fpdfapi/edit/cpdf_xrefstream.h b/core/fpdfapi/edit/cpdf_xrefstream.h index 2ca990732b..33869c656a 100644 --- a/core/fpdfapi/edit/cpdf_xrefstream.h +++ b/core/fpdfapi/edit/cpdf_xrefstream.h @@ -26,13 +26,13 @@ class CPDF_XRefStream { ~CPDF_XRefStream(); bool Start(); - int32_t CompressIndirectObject(uint32_t dwObjNum, - const CPDF_Object* pObj, - CPDF_Creator* pCreator); - int32_t CompressIndirectObject(uint32_t dwObjNum, - const uint8_t* pBuffer, - uint32_t dwSize, - CPDF_Creator* pCreator); + bool CompressIndirectObject(uint32_t dwObjNum, + const CPDF_Object* pObj, + CPDF_Creator* pCreator); + bool CompressIndirectObject(uint32_t dwObjNum, + const uint8_t* pBuffer, + uint32_t dwSize, + CPDF_Creator* pCreator); bool End(CPDF_Creator* pCreator, bool bEOF); void AddObjectNumberToIndexArray(uint32_t objnum); bool EndXRefStream(CPDF_Creator* pCreator); @@ -48,7 +48,7 @@ class CPDF_XRefStream { } private: - int32_t EndObjectStream(CPDF_Creator* pCreator, bool bEOF); + bool EndObjectStream(CPDF_Creator* pCreator, bool bEOF); bool GenerateXRefStream(CPDF_Creator* pCreator, bool bEOF); std::vector<Index> m_IndexArray; |