diff options
author | Lei Zhang <thestig@chromium.org> | 2016-01-27 18:22:06 -0800 |
---|---|---|
committer | Lei Zhang <thestig@chromium.org> | 2016-01-27 18:22:06 -0800 |
commit | 6ffb03cc9aafeefddde57a68c9257cae9dc505c1 (patch) | |
tree | 8419a83c417d4ee260626d5d99689743d3595878 /xfa/src/fwl | |
parent | 99ffdb0b9b488d743331646dc410f26b71e1f037 (diff) | |
download | pdfium-6ffb03cc9aafeefddde57a68c9257cae9dc505c1.tar.xz |
XFA: Remove dead AddDoRecord code.
R=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1640033002 .
Diffstat (limited to 'xfa/src/fwl')
-rw-r--r-- | xfa/src/fwl/src/basewidget/fwl_editimp.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/xfa/src/fwl/src/basewidget/fwl_editimp.cpp b/xfa/src/fwl/src/basewidget/fwl_editimp.cpp index 5957bb3b02..45b94d13b0 100644 --- a/xfa/src/fwl/src/basewidget/fwl_editimp.cpp +++ b/xfa/src/fwl/src/basewidget/fwl_editimp.cpp @@ -931,18 +931,12 @@ FX_BOOL CFWL_EditImp::On_PageUnload(IFDE_TxtEdtEngine* pEdit, pPage->UnloadPage(); return TRUE; } + void CFWL_EditImp::On_AddDoRecord(IFDE_TxtEdtEngine* pEdit, const CFX_ByteStringC& bsDoRecord) { AddDoRecord(bsDoRecord); - CFWL_WidgetImp* pSrcTarget = GetRootOuter(); - if (!pSrcTarget) { - pSrcTarget = this; - } - CFWL_EvtEdtAddDoRecord evt; - evt.m_pSrcTarget = m_pInterface; - evt.m_wsDoRecord = bsDoRecord; - m_pDelegate->OnProcessEvent(&evt); } + FX_BOOL CFWL_EditImp::On_ValidateField(IFDE_TxtEdtEngine* pEdit, int32_t nBlockIndex, int32_t nFieldIndex, |