diff options
author | Lei Zhang <thestig@chromium.org> | 2015-10-19 14:32:16 -0700 |
---|---|---|
committer | Lei Zhang <thestig@chromium.org> | 2015-10-19 14:32:16 -0700 |
commit | a5b47041066011eb590a020bb38035442fce48af (patch) | |
tree | 5ded0a9c0c73ccd83681e3bd3007c7a6461c9a9a /fpdfsdk/src/formfiller/FFL_IFormFiller.cpp | |
parent | b0748bb1b207559deaec7a5f49c00c492a5f6082 (diff) | |
download | pdfium-a5b47041066011eb590a020bb38035442fce48af.tar.xz |
Merge to XFA: Remove dead code that was reactivated when fixing overrides.
BUG=pdfium:205
TBR=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1409743004 .
(cherry picked from commit 9ddafc82bddb984ae46ee0df801ba20b446d5158)
Review URL: https://codereview.chromium.org/1411423002 .
Diffstat (limited to 'fpdfsdk/src/formfiller/FFL_IFormFiller.cpp')
-rw-r--r-- | fpdfsdk/src/formfiller/FFL_IFormFiller.cpp | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/fpdfsdk/src/formfiller/FFL_IFormFiller.cpp b/fpdfsdk/src/formfiller/FFL_IFormFiller.cpp index c1450f6c84..6ef8785636 100644 --- a/fpdfsdk/src/formfiller/FFL_IFormFiller.cpp +++ b/fpdfsdk/src/formfiller/FFL_IFormFiller.cpp @@ -986,9 +986,7 @@ FX_BOOL CFFL_IFormFiller::IsValidAnnot(CPDFSDK_PageView* pPageView, return FALSE; } -void CFFL_IFormFiller::OnBeforeKeyStroke(FX_BOOL bEditOrList, - void* pPrivateData, - int32_t nKeyCode, +void CFFL_IFormFiller::OnBeforeKeyStroke(void* pPrivateData, CFX_WideString& strChange, const CFX_WideString& strChangeEx, int nSelStart, @@ -1078,16 +1076,3 @@ void CFFL_IFormFiller::OnBeforeKeyStroke(FX_BOOL bEditOrList, } } } - -void CFFL_IFormFiller::OnAfterKeyStroke(FX_BOOL bEditOrList, - void* pPrivateData, - FX_BOOL& bExit, - FX_DWORD nFlag) { - CFFL_PrivateData* pData = (CFFL_PrivateData*)pPrivateData; - ASSERT(pData->pWidget); - - CFFL_FormFiller* pFormFiller = GetFormFiller(pData->pWidget, FALSE); - - if (!bEditOrList) - pFormFiller->OnKeyStroke(bExit, nFlag); -} |