Index: fpdfsdk/src/formfiller/FFL_IFormFiller.cpp |
diff --git a/fpdfsdk/src/formfiller/FFL_IFormFiller.cpp b/fpdfsdk/src/formfiller/FFL_IFormFiller.cpp |
index 36b123e16596c51d724910054941a8762635aba7..7049fe6a97dc4a7711af6f67f0408b6a2251b434 100644 |
--- a/fpdfsdk/src/formfiller/FFL_IFormFiller.cpp |
+++ b/fpdfsdk/src/formfiller/FFL_IFormFiller.cpp |
@@ -747,8 +747,6 @@ void CFFL_IFormFiller::OnClick(CPDFSDK_Widget* pWidget, |
FX_BOOL& bReset, |
FX_BOOL& bExit, |
FX_UINT nFlag) { |
- ASSERT(pWidget != NULL); |
- |
if (!m_bNotifying) { |
if (pWidget->HasXFAAAction(PDFSDK_XFA_Click)) { |
m_bNotifying = TRUE; |
@@ -784,8 +782,6 @@ void CFFL_IFormFiller::OnFull(CPDFSDK_Widget* pWidget, |
FX_BOOL& bReset, |
FX_BOOL& bExit, |
FX_UINT nFlag) { |
- ASSERT(pWidget != NULL); |
- |
if (!m_bNotifying) { |
if (pWidget->HasXFAAAction(PDFSDK_XFA_Full)) { |
m_bNotifying = TRUE; |
@@ -819,9 +815,9 @@ void CFFL_IFormFiller::OnFull(CPDFSDK_Widget* pWidget, |
void CFFL_IFormFiller::OnPopupPreOpen(void* pPrivateData, |
FX_BOOL& bExit, |
FX_DWORD nFlag) { |
- ASSERT(pPrivateData != NULL); |
CFFL_PrivateData* pData = (CFFL_PrivateData*)pPrivateData; |
- ASSERT(pData->pWidget != NULL); |
+ ASSERT(pData); |
+ ASSERT(pData->pWidget); |
FX_BOOL bTempReset = FALSE; |
FX_BOOL bTempExit = FALSE; |
@@ -836,9 +832,9 @@ void CFFL_IFormFiller::OnPopupPreOpen(void* pPrivateData, |
void CFFL_IFormFiller::OnPopupPostOpen(void* pPrivateData, |
FX_BOOL& bExit, |
FX_DWORD nFlag) { |
- ASSERT(pPrivateData != NULL); |
CFFL_PrivateData* pData = (CFFL_PrivateData*)pPrivateData; |
- ASSERT(pData->pWidget != NULL); |
+ ASSERT(pData); |
+ ASSERT(pData->pWidget); |
FX_BOOL bTempReset = FALSE; |
FX_BOOL bTempExit = FALSE; |
@@ -855,8 +851,6 @@ void CFFL_IFormFiller::OnPreOpen(CPDFSDK_Widget* pWidget, |
FX_BOOL& bReset, |
FX_BOOL& bExit, |
FX_UINT nFlag) { |
- ASSERT(pWidget != NULL); |
- |
if (!m_bNotifying) { |
if (pWidget->HasXFAAAction(PDFSDK_XFA_PreOpen)) { |
m_bNotifying = TRUE; |
@@ -892,8 +886,6 @@ void CFFL_IFormFiller::OnPostOpen(CPDFSDK_Widget* pWidget, |
FX_BOOL& bReset, |
FX_BOOL& bExit, |
FX_UINT nFlag) { |
- ASSERT(pWidget != NULL); |
- |
if (!m_bNotifying) { |
if (pWidget->HasXFAAAction(PDFSDK_XFA_PostOpen)) { |
m_bNotifying = TRUE; |