Index: fpdfsdk/include/fsdk_baseform.h |
diff --git a/fpdfsdk/include/fsdk_baseform.h b/fpdfsdk/include/fsdk_baseform.h |
index fbe9a41c84c7dfd8db5d8b6214258dce3cc5538a..fa19c75a6b5eb002f1581f4fb8b58e3ac66a3f2a 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 |