Merge to XFA: Add type cast definitions for CPDF_String.
authorDan Sinclair <dsinclair@chromium.org>
Wed, 21 Oct 2015 17:29:23 +0000 (13:29 -0400)
committerDan Sinclair <dsinclair@chromium.org>
Wed, 21 Oct 2015 17:29:23 +0000 (13:29 -0400)
commit316eb864137a0b8eeb0d0d4d698ba83f4946a89c
tree9268f9369d9382ca3ee8f7496ab71394dfa9daef
parent43ce9035a026c7b4f15aa938dc39444d9253ea9f
Merge to XFA: 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 .

(cherry picked from commit 53d3ab125ef583be8cfac907b308a6551b93067a)

Review URL: https://codereview.chromium.org/1408323006 .
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