Add type cast definitions for CPDF_Reference.
authorDan Sinclair <dsinclair@chromium.org>
Mon, 26 Oct 2015 16:51:50 +0000 (12:51 -0400)
committerDan Sinclair <dsinclair@chromium.org>
Mon, 26 Oct 2015 16:51:50 +0000 (12:51 -0400)
commit9024e026dae1af064b8467bb0f62278417fb82d1
treeff195a845b5cb07b7ddc657984f8e4ad2239c4cc
parent9b2741829b8a8c511ef0f2f313ff53d77ac96307
Add type cast definitions for CPDF_Reference.

This Cl adds ToReference, CPDF_Object::AsReference and CPDF_Object::IsReference
and updates the src to use them as needed.

BUG=pdfium:201
R=tsepez@chromium.org

Review URL: https://codereview.chromium.org/1420973002 .
12 files changed:
core/include/fpdfapi/fpdf_objects.h
core/src/fpdfapi/fpdf_edit/fpdf_edit_create.cpp
core/src/fpdfapi/fpdf_page/fpdf_page_parser.cpp
core/src/fpdfapi/fpdf_parser/fpdf_parser_document.cpp
core/src/fpdfapi/fpdf_parser/fpdf_parser_objects.cpp
core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp
core/src/fpdfapi/fpdf_parser/fpdf_parser_utility.cpp
core/src/fpdfdoc/doc_form.cpp
core/src/fpdfdoc/doc_tagged.cpp
fpdfsdk/src/fpdf_flatten.cpp
fpdfsdk/src/fpdf_transformpage.cpp
fpdfsdk/src/fpdfppo.cpp