diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-10-14 14:17:26 -0700 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-10-14 14:17:26 -0700 |
commit | dfbf8e7ba55695c4e6cb30eadbe9c6a2955815ba (patch) | |
tree | 58eef2a1e6763f71926524827da0f220f761f960 /fpdfsdk/src/formfiller/FFL_FormFiller.cpp | |
parent | 758ae14e113c07285126274577d7a5cab559fa65 (diff) | |
download | pdfium-dfbf8e7ba55695c4e6cb30eadbe9c6a2955815ba.tar.xz |
Next round of XFA changes to match master.
This contains a missed merge of the Document:delay fixes.
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1398703009 .
Diffstat (limited to 'fpdfsdk/src/formfiller/FFL_FormFiller.cpp')
-rw-r--r-- | fpdfsdk/src/formfiller/FFL_FormFiller.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fpdfsdk/src/formfiller/FFL_FormFiller.cpp b/fpdfsdk/src/formfiller/FFL_FormFiller.cpp index 642e5e8964..30a297dd68 100644 --- a/fpdfsdk/src/formfiller/FFL_FormFiller.cpp +++ b/fpdfsdk/src/formfiller/FFL_FormFiller.cpp @@ -464,9 +464,7 @@ CPDF_Rect CFFL_FormFiller::GetPDFWindowRect() const { CPDFSDK_PageView* CFFL_FormFiller::GetCurPageView() { CPDFXFA_Page* pPage = m_pAnnot->GetPDFXFAPage(); CPDFSDK_Document* pSDKDoc = m_pApp->GetSDKDocument(); - if (!pSDKDoc) - return NULL; - return pSDKDoc->GetPageView(pPage); + return pSDKDoc ? pSDKDoc->GetPageView(pPage) : nullptr; } CPDF_Rect CFFL_FormFiller::GetFocusBox(CPDFSDK_PageView* pPageView) { |