| Index: fpdfsdk/src/fsdk_baseform.cpp
|
| diff --git a/fpdfsdk/src/fsdk_baseform.cpp b/fpdfsdk/src/fsdk_baseform.cpp
|
| index 46aa1f3d85a29202050ef92082f01d2b520fdce6..f2eb3978f38086822f0654395bc0fc23a5ab04ae 100644
|
| --- a/fpdfsdk/src/fsdk_baseform.cpp
|
| +++ b/fpdfsdk/src/fsdk_baseform.cpp
|
| @@ -2009,16 +2009,12 @@ int CPDFSDK_InterForm::AfterSelectionChange(const CPDF_FormField* pField) {
|
| return 0;
|
| }
|
|
|
| -int CPDFSDK_InterForm::AfterCheckedStatusChange(
|
| - const CPDF_FormField* pField,
|
| - const CFX_ByteArray& statusArray) {
|
| - CPDF_FormField* pFormField = (CPDF_FormField*)pField;
|
| - int nType = pFormField->GetFieldType();
|
| +void CPDFSDK_InterForm::AfterCheckedStatusChange(CPDF_FormField* pField) {
|
| + int nType = pField->GetFieldType();
|
| if (nType == FIELDTYPE_CHECKBOX || nType == FIELDTYPE_RADIOBUTTON) {
|
| - OnCalculate(pFormField);
|
| - UpdateField(pFormField);
|
| + OnCalculate(pField);
|
| + UpdateField(pField);
|
| }
|
| - return 0;
|
| }
|
|
|
| int CPDFSDK_InterForm::BeforeFormReset(const CPDF_InterForm* pForm) {
|
|
|