diff options
author | tsepez <tsepez@chromium.org> | 2016-04-22 14:00:47 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-04-22 14:00:47 -0700 |
commit | 16a2033b3b7e2e348509c9938d77268e85e2b763 (patch) | |
tree | 79feb24aa9cbea49bec527a3a43f0ac87182f163 /fpdfsdk/include/fsdk_baseform.h | |
parent | 6d8555d72d31f73c2b32849b602d1ba57b09c469 (diff) | |
download | pdfium-16a2033b3b7e2e348509c9938d77268e85e2b763.tar.xz |
Remove CFX_MapPtrTemplate usage in fsdk_baseform.cpp
Replace one instance with std::map.
Remove another instance that is never inserted into.
Review URL: https://codereview.chromium.org/1919433002
Diffstat (limited to 'fpdfsdk/include/fsdk_baseform.h')
-rw-r--r-- | fpdfsdk/include/fsdk_baseform.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/fpdfsdk/include/fsdk_baseform.h b/fpdfsdk/include/fsdk_baseform.h index fbe9a41c84..fa19c75a6b 100644 --- a/fpdfsdk/include/fsdk_baseform.h +++ b/fpdfsdk/include/fsdk_baseform.h @@ -243,9 +243,6 @@ class CPDFSDK_XFAWidget : public CPDFSDK_Annot { CPDFSDK_InterForm* m_pInterForm; CXFA_FFWidget* m_hXFAWidget; }; -#define CPDFSDK_XFAWidgetMap \ - CFX_MapPtrTemplate<CXFA_FFWidget*, CPDFSDK_XFAWidget*> -#define CPDFSDK_FieldSynchronizeMap CFX_MapPtrTemplate<CPDF_FormField*, int> #endif // PDF_ENABLE_XFA class CPDFSDK_InterForm : public CPDF_FormNotify { @@ -341,8 +338,7 @@ class CPDFSDK_InterForm : public CPDF_FormNotify { CPDF_InterForm* m_pInterForm; CPDFSDK_WidgetMap m_Map; #ifdef PDF_ENABLE_XFA - CPDFSDK_XFAWidgetMap m_XFAMap; - CPDFSDK_FieldSynchronizeMap m_FieldSynchronizeMap; + std::map<CXFA_FFWidget*, CPDFSDK_XFAWidget*> m_XFAMap; FX_BOOL m_bXfaCalculate; FX_BOOL m_bXfaValidationsEnabled; #endif // PDF_ENABLE_XFA |