diff options
author | Lei Zhang <thestig@chromium.org> | 2015-06-10 15:23:23 -0700 |
---|---|---|
committer | Lei Zhang <thestig@chromium.org> | 2015-06-10 15:23:23 -0700 |
commit | 0aa0e7331b3512066df3e33d6642456a0de63de7 (patch) | |
tree | beb51a4f1d45c4acdf4133fd3fef81fad4e35594 /fpdfsdk/src/fsdk_annothandler.cpp | |
parent | 71b0378c7ce0bf8bfa54eddb2c2734729bae27f1 (diff) | |
download | pdfium-0aa0e7331b3512066df3e33d6642456a0de63de7.tar.xz |
Merge to XFA: Cleanup: Remove CFFL_IFormFiller::GetCommitKey() that always returns 0.
Remove callers and related code that all just pass zeros around.
Also remove CFFL_IFormFiller::GetKeyDown().
R=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1149623012.
(cherry picked from commit 35c3163d55bebea8095474181f807ddfb2f4f806)
Review URL: https://codereview.chromium.org/1175083003.
Diffstat (limited to 'fpdfsdk/src/fsdk_annothandler.cpp')
-rw-r--r-- | fpdfsdk/src/fsdk_annothandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/src/fsdk_annothandler.cpp b/fpdfsdk/src/fsdk_annothandler.cpp index 302cec597b..ba2478ad00 100644 --- a/fpdfsdk/src/fsdk_annothandler.cpp +++ b/fpdfsdk/src/fsdk_annothandler.cpp @@ -739,7 +739,7 @@ void CPDFSDK_BFAnnotHandler::OnLoad(CPDFSDK_Annot* pAnnot) if (nFieldType == FIELDTYPE_TEXTFIELD || nFieldType == FIELDTYPE_COMBOBOX) { FX_BOOL bFormated = FALSE; - CFX_WideString sValue = pWidget->OnFormat(0, bFormated); + CFX_WideString sValue = pWidget->OnFormat(bFormated); if (bFormated && nFieldType == FIELDTYPE_COMBOBOX) { pWidget->ResetAppearance(sValue.c_str(), FALSE); |