Add type cast definitions for CPDF_String.
authorDan Sinclair <dsinclair@chromium.org>
Wed, 21 Oct 2015 17:08:24 +0000 (13:08 -0400)
committerDan Sinclair <dsinclair@chromium.org>
Wed, 21 Oct 2015 17:08:24 +0000 (13:08 -0400)
commit53d3ab125ef583be8cfac907b308a6551b93067a
tree7680ace0f99bb5aa2532def62411d7e59360793f
parent83bf02dfb860a66d756434d194118dae572d04d3
Add type cast definitions for CPDF_String.

This Cl adds ToString, CPDF_Object::AsString and CPDF_Object::IsString and
updates the src to use them as needed.

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

Review URL: https://codereview.chromium.org/1417933002 .
17 files changed:
core/include/fpdfapi/fpdf_objects.h
core/src/fpdfapi/fpdf_edit/fpdf_edit_create.cpp
core/src/fpdfapi/fpdf_page/fpdf_page_colors.cpp
core/src/fpdfapi/fpdf_page/fpdf_page_parser.cpp
core/src/fpdfapi/fpdf_parser/fpdf_parser_fdf.cpp
core/src/fpdfapi/fpdf_parser/fpdf_parser_objects.cpp
core/src/fpdfapi/fpdf_parser/fpdf_parser_utility.cpp
core/src/fpdfdoc/doc_action.cpp
core/src/fpdfdoc/doc_ap.cpp
core/src/fpdfdoc/doc_basic.cpp
core/src/fpdfdoc/doc_bookmark.cpp
core/src/fpdfdoc/doc_formfield.cpp
core/src/fpdfdoc/doc_link.cpp
core/src/fpdftext/fpdf_text_int.cpp
fpdfsdk/src/formfiller/FFL_Utils.cpp
fpdfsdk/src/fsdk_baseform.cpp
fpdfsdk/src/javascript/Document.cpp