diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-11-20 09:45:24 -0800 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-11-20 09:45:24 -0800 |
commit | c7e4c4fe17f5c05671183a47541ea17f3dce75b5 (patch) | |
tree | 720c1c55e5125c6d5ebe85839137fc3a15496ca5 /fpdfsdk/src/fsdk_annothandler.cpp | |
parent | 7386e293a2b67794e6af02d0b71020a4bc987ce0 (diff) | |
download | pdfium-c7e4c4fe17f5c05671183a47541ea17f3dce75b5.tar.xz |
Update XFA fpdfsdk to match master
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1465663002 .
Diffstat (limited to 'fpdfsdk/src/fsdk_annothandler.cpp')
-rw-r--r-- | fpdfsdk/src/fsdk_annothandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fpdfsdk/src/fsdk_annothandler.cpp b/fpdfsdk/src/fsdk_annothandler.cpp index f34db5cacc..bf0993bd4b 100644 --- a/fpdfsdk/src/fsdk_annothandler.cpp +++ b/fpdfsdk/src/fsdk_annothandler.cpp @@ -121,9 +121,9 @@ IPDFSDK_AnnotHandler* CPDFSDK_AnnotHandlerMgr::GetAnnotHandler( CPDF_Annot* pPDFAnnot = pAnnot->GetPDFAnnot(); if (pPDFAnnot) return GetAnnotHandler(pPDFAnnot->GetSubType()); - else if (pAnnot->GetXFAWidget()) + if (pAnnot->GetXFAWidget()) return GetAnnotHandler(FSDK_XFAWIDGET_TYPENAME); - return NULL; + return nullptr; } IPDFSDK_AnnotHandler* CPDFSDK_AnnotHandlerMgr::GetAnnotHandler( |