summaryrefslogtreecommitdiff
path: root/fpdfsdk/src/fxedit/fxet_module.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/src/fxedit/fxet_module.cpp')
-rw-r--r--fpdfsdk/src/fxedit/fxet_module.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/fpdfsdk/src/fxedit/fxet_module.cpp b/fpdfsdk/src/fxedit/fxet_module.cpp
index 12f2c86e03..553cf3a62f 100644
--- a/fpdfsdk/src/fxedit/fxet_module.cpp
+++ b/fpdfsdk/src/fxedit/fxet_module.cpp
@@ -19,8 +19,6 @@ IFX_Edit* IFX_Edit::NewEdit() {
}
void IFX_Edit::DelEdit(IFX_Edit* pEdit) {
- ASSERT(pEdit != NULL);
-
IPDF_VariableText::DelVariableText(pEdit->GetVariableText());
delete (CFX_Edit*)pEdit;
@@ -33,7 +31,6 @@ IFX_List* IFX_List::NewList() {
}
void IFX_List::DelList(IFX_List* pList) {
- ASSERT(pList != NULL);
-
+ ASSERT(pList);
delete (CFX_ListCtrl*)pList;
}