diff options
Diffstat (limited to 'core/fpdfdoc/cpdf_interform.h')
-rw-r--r-- | core/fpdfdoc/cpdf_interform.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/fpdfdoc/cpdf_interform.h b/core/fpdfdoc/cpdf_interform.h index f03ffb1e60..b846973435 100644 --- a/core/fpdfdoc/cpdf_interform.h +++ b/core/fpdfdoc/cpdf_interform.h @@ -112,7 +112,8 @@ class CPDF_InterForm { CPDF_Document* const m_pDocument; CPDF_Dictionary* m_pFormDict; - std::map<const CPDF_Dictionary*, CPDF_FormControl*> m_ControlMap; + std::map<const CPDF_Dictionary*, std::unique_ptr<CPDF_FormControl>> + m_ControlMap; std::unique_ptr<CFieldTree> m_pFieldTree; CFX_ByteString m_bsEncoding; IPDF_FormNotify* m_pFormNotify; |