| Index: core/fpdfdoc/cpdf_formfield.cpp
|
| diff --git a/core/fpdfdoc/cpdf_formfield.cpp b/core/fpdfdoc/cpdf_formfield.cpp
|
| index 81d217882097e0202aa3ddddc2dde8fe8c60600f..ac6c01bae25a839de40f523ac3af59f9932c1069 100644
|
| --- a/core/fpdfdoc/cpdf_formfield.cpp
|
| +++ b/core/fpdfdoc/cpdf_formfield.cpp
|
| @@ -887,7 +887,7 @@ FX_BOOL CPDF_FormField::SelectOption(int iOptIndex,
|
| if (bSelected)
|
| pArray->AddInteger(iOptIndex);
|
|
|
| - if (pArray->GetCount() == 0)
|
| + if (pArray->IsEmpty())
|
| m_pDict->RemoveAt("I");
|
| }
|
| if (bNotify)
|
|
|