Index: fpdfsdk/src/fsdk_annothandler.cpp |
diff --git a/fpdfsdk/src/fsdk_annothandler.cpp b/fpdfsdk/src/fsdk_annothandler.cpp |
index f34db5cacc3a8ed7e491782345ed258f840dc454..bf0993bd4b3622af57c176503051b03df4a5d50f 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( |