summaryrefslogtreecommitdiff
path: root/core/fpdfapi/fpdf_parser/include
diff options
context:
space:
mode:
authorthestig <thestig@chromium.org>2016-05-26 16:24:15 -0700
committerCommit bot <commit-bot@chromium.org>2016-05-26 16:24:16 -0700
commit2f1e05a44bbc38a4afea3fde8c8018dc127b8659 (patch)
treea0b453a8777b64d94bf337ae66ac2766968365a7 /core/fpdfapi/fpdf_parser/include
parent6a9b494553a0e5547ad1f59f54ec6147a1c0fa79 (diff)
downloadpdfium-2f1e05a44bbc38a4afea3fde8c8018dc127b8659.tar.xz
Make CPDF_IndirectObjectHolder::InsertIndirectObject return a bool.
Fix some nits in CPDF_Parser::LoadCrossRefV5() and other callers. Review-Url: https://codereview.chromium.org/2019443002
Diffstat (limited to 'core/fpdfapi/fpdf_parser/include')
-rw-r--r--core/fpdfapi/fpdf_parser/include/cpdf_indirect_object_holder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfapi/fpdf_parser/include/cpdf_indirect_object_holder.h b/core/fpdfapi/fpdf_parser/include/cpdf_indirect_object_holder.h
index a219181179..c29746fdd7 100644
--- a/core/fpdfapi/fpdf_parser/include/cpdf_indirect_object_holder.h
+++ b/core/fpdfapi/fpdf_parser/include/cpdf_indirect_object_holder.h
@@ -27,7 +27,7 @@ class CPDF_IndirectObjectHolder {
void ReleaseIndirectObject(uint32_t objnum);
// Takes ownership of |pObj|.
- FX_BOOL InsertIndirectObject(uint32_t objnum, CPDF_Object* pObj);
+ bool InsertIndirectObject(uint32_t objnum, CPDF_Object* pObj);
uint32_t GetLastObjNum() const { return m_LastObjNum; }
iterator begin() { return m_IndirectObjs.begin(); }