diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-03-05 16:44:22 -0800 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-03-05 16:44:22 -0800 |
commit | 7b5bc26e8267fec38bef9f95cd04d2bd731faff3 (patch) | |
tree | 9203aa0ff0d4a34616a5161b2ded34ce7e9ada24 /core/src/fpdfdoc/doc_bookmark.cpp | |
parent | 827a1722f70e7092270b5e0fdfba1e9c0b1ac50f (diff) | |
download | pdfium-7b5bc26e8267fec38bef9f95cd04d2bd731faff3.tar.xz |
Merge to XFA: Make conversion between CPDF_Action and its dictionary explicit.
Original Review URL: https://codereview.chromium.org/984773002
R=thestig@chromium.org
TBR=thestig@chromium.org
Review URL: https://codereview.chromium.org/984783002
Diffstat (limited to 'core/src/fpdfdoc/doc_bookmark.cpp')
-rw-r--r-- | core/src/fpdfdoc/doc_bookmark.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/fpdfdoc/doc_bookmark.cpp b/core/src/fpdfdoc/doc_bookmark.cpp index e7b383eced..a3a194337e 100644 --- a/core/src/fpdfdoc/doc_bookmark.cpp +++ b/core/src/fpdfdoc/doc_bookmark.cpp @@ -86,7 +86,7 @@ CPDF_Dest CPDF_Bookmark::GetDest(CPDF_Document* pDocument) const CPDF_Action CPDF_Bookmark::GetAction() const { if (!m_pDict) { - return NULL; + return CPDF_Action(); } - return m_pDict->GetDict("A"); + return CPDF_Action(m_pDict->GetDict("A")); } |