diff options
Diffstat (limited to 'fpdfsdk/formfiller/cffl_listbox.h')
-rw-r--r-- | fpdfsdk/formfiller/cffl_listbox.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fpdfsdk/formfiller/cffl_listbox.h b/fpdfsdk/formfiller/cffl_listbox.h index 43fbab6642..4d1f64f113 100644 --- a/fpdfsdk/formfiller/cffl_listbox.h +++ b/fpdfsdk/formfiller/cffl_listbox.h @@ -7,6 +7,7 @@ #ifndef FPDFSDK_FORMFILLER_CFFL_LISTBOX_H_ #define FPDFSDK_FORMFILLER_CFFL_LISTBOX_H_ +#include <memory> #include <set> #include "fpdfsdk/formfiller/cffl_formfiller.h" @@ -37,7 +38,7 @@ class CFFL_ListBox : public CFFL_FormFiller { FX_BOOL bRestoreValue) override; private: - CBA_FontMap* m_pFontMap; + std::unique_ptr<CBA_FontMap> m_pFontMap; std::set<int> m_OriginSelections; CFX_ArrayTemplate<int> m_State; }; |