summaryrefslogtreecommitdiff
path: root/xfa/fxfa/fxfa_basic.h
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/fxfa_basic.h')
-rw-r--r--xfa/fxfa/fxfa_basic.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/xfa/fxfa/fxfa_basic.h b/xfa/fxfa/fxfa_basic.h
index 9a2fef5415..8695b48df4 100644
--- a/xfa/fxfa/fxfa_basic.h
+++ b/xfa/fxfa/fxfa_basic.h
@@ -1015,9 +1015,9 @@ struct XFA_METHODINFO {
typedef void (CJX_Object::*XFA_ATTRIBUTE_CALLBACK)(CFXJSE_Value* pValue,
bool bSetting,
XFA_Attribute eAttribute);
-enum XFA_SCRIPT_TYPE {
- XFA_SCRIPT_Basic,
- XFA_SCRIPT_Object,
+enum class XFA_ScriptType : uint8_t {
+ Basic,
+ Object,
};
struct XFA_SCRIPTATTRIBUTEINFO {
@@ -1025,7 +1025,7 @@ struct XFA_SCRIPTATTRIBUTEINFO {
const wchar_t* pName;
XFA_ATTRIBUTE_CALLBACK callback;
XFA_Attribute attribute;
- uint16_t eValueType;
+ XFA_ScriptType eValueType;
};
#endif // XFA_FXFA_FXFA_BASIC_H_