diff options
Diffstat (limited to 'core/fpdfdoc/cpdf_interactiveform.cpp')
-rw-r--r-- | core/fpdfdoc/cpdf_interactiveform.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/core/fpdfdoc/cpdf_interactiveform.cpp b/core/fpdfdoc/cpdf_interactiveform.cpp index 754737c454..403344c0ff 100644 --- a/core/fpdfdoc/cpdf_interactiveform.cpp +++ b/core/fpdfdoc/cpdf_interactiveform.cpp @@ -827,10 +827,8 @@ void CPDF_InteractiveForm::ResetForm(NotificationOption notify) { } const std::vector<UnownedPtr<CPDF_FormControl>>& -CPDF_InteractiveForm::GetControlsForField(const CPDF_FormField* pField) const { - const auto& it = m_ControlLists.find(pField); - ASSERT(it != m_ControlLists.end()); - return it->second; +CPDF_InteractiveForm::GetControlsForField(const CPDF_FormField* pField) { + return m_ControlLists[pField]; } void CPDF_InteractiveForm::LoadField(CPDF_Dictionary* pFieldDict, int nLevel) { |