Index: fpdfsdk/fpdf_ext.cpp |
diff --git a/fpdfsdk/fpdf_ext.cpp b/fpdfsdk/fpdf_ext.cpp |
index 0a76a0d4beb77af6abaaa1c66e982ac38373ea2d..d262e3c0a5c8bca98f1289fcdfad188aef0d37b9 100644 |
--- a/fpdfsdk/fpdf_ext.cpp |
+++ b/fpdfsdk/fpdf_ext.cpp |
@@ -156,7 +156,7 @@ void CheckUnSupportError(CPDF_Document* pDoc, uint32_t err_code) { |
} |
if (pNameDict && pNameDict->KeyExist("JavaScript")) { |
CPDF_Dictionary* pJSDict = pNameDict->GetDictBy("JavaScript"); |
- CPDF_Array* pArray = pJSDict ? pJSDict->GetArrayBy("Names") : NULL; |
+ CPDF_Array* pArray = pJSDict ? pJSDict->GetArrayBy("Names") : nullptr; |
if (pArray) { |
for (size_t i = 0; i < pArray->GetCount(); i++) { |
CFX_ByteString cbStr = pArray->GetStringAt(i); |