summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xfa/fwl/cfwl_edit.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/xfa/fwl/cfwl_edit.cpp b/xfa/fwl/cfwl_edit.cpp
index 7c4f0e1607..623cf4e956 100644
--- a/xfa/fwl/cfwl_edit.cpp
+++ b/xfa/fwl/cfwl_edit.cpp
@@ -327,10 +327,6 @@ void CFWL_Edit::OnSelChanged() {
}
bool CFWL_Edit::OnValidate(const WideString& wsText) {
- CFWL_Widget* pDst = GetOuter();
- if (!pDst)
- pDst = this;
-
CFWL_EventValidate event(this);
event.wsInsert = wsText;
event.bValidate = true;