diff options
Diffstat (limited to 'core/fpdfdoc/cpdf_formfield.cpp')
-rw-r--r-- | core/fpdfdoc/cpdf_formfield.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/fpdfdoc/cpdf_formfield.cpp b/core/fpdfdoc/cpdf_formfield.cpp index a076b150a8..4cb9496af9 100644 --- a/core/fpdfdoc/cpdf_formfield.cpp +++ b/core/fpdfdoc/cpdf_formfield.cpp @@ -250,6 +250,10 @@ bool CPDF_FormField::ResetField(NotificationOption notify) { return true; } +int CPDF_FormField::CountControls() const { + return pdfium::CollectionSize<int>(m_ControlList); +} + int CPDF_FormField::GetControlIndex(const CPDF_FormControl* pControl) const { if (!pControl) return -1; |