Index: fpdfsdk/fpdfformfill.cpp |
diff --git a/fpdfsdk/fpdfformfill.cpp b/fpdfsdk/fpdfformfill.cpp |
index 2631eb3e4f3b6211c6b67c85deb1a2c7ddcacacf..c9c2c39476d55571125b5cace9e4ceaba655aa5e 100644 |
--- a/fpdfsdk/fpdfformfill.cpp |
+++ b/fpdfsdk/fpdfformfill.cpp |
@@ -139,7 +139,7 @@ void FFLCommon(FPDF_FORMHANDLE hHandle, |
pDevice->RestoreState(false); |
delete options.m_pOCContext; |
#ifdef PDF_ENABLE_XFA |
- options.m_pOCContext = NULL; |
+ options.m_pOCContext = nullptr; |
#endif // PDF_ENABLE_XFA |
} |
@@ -266,7 +266,7 @@ FPDFDOC_ExitFormFillEnvironment(FPDF_FORMHANDLE hHandle) { |
pApp->RemoveFormFillEnv(pEnv); |
#else // PDF_ENABLE_XFA |
if (CPDFSDK_Document* pSDKDoc = pEnv->GetSDKDocument()) { |
- pEnv->SetSDKDocument(NULL); |
+ pEnv->SetSDKDocument(nullptr); |
delete pSDKDoc; |
} |
#endif // PDF_ENABLE_XFA |