diff options
author | Lei Zhang <thestig@chromium.org> | 2015-06-10 11:47:08 -0700 |
---|---|---|
committer | Lei Zhang <thestig@chromium.org> | 2015-06-10 11:47:08 -0700 |
commit | 35c3163d55bebea8095474181f807ddfb2f4f806 (patch) | |
tree | 1abf9c44f45ac844214b01dfd090c50c1027a4ec /fpdfsdk/src/fsdk_annothandler.cpp | |
parent | 22f429fc4875027b10ab071102c9ac8a88abf825 (diff) | |
download | pdfium-35c3163d55bebea8095474181f807ddfb2f4f806.tar.xz |
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.
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 2027817497..a44b34b02f 100644 --- a/fpdfsdk/src/fsdk_annothandler.cpp +++ b/fpdfsdk/src/fsdk_annothandler.cpp @@ -673,7 +673,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); |