summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_scriptdata.h
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/parser/cxfa_scriptdata.h')
-rw-r--r--xfa/fxfa/parser/cxfa_scriptdata.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/xfa/fxfa/parser/cxfa_scriptdata.h b/xfa/fxfa/parser/cxfa_scriptdata.h
index f7b8d741fc..36c9a31e7e 100644
--- a/xfa/fxfa/parser/cxfa_scriptdata.h
+++ b/xfa/fxfa/parser/cxfa_scriptdata.h
@@ -12,10 +12,10 @@
#include "core/fxcrt/fx_string.h"
#include "xfa/fxfa/parser/cxfa_data.h"
-enum XFA_SCRIPTTYPE {
- XFA_SCRIPTTYPE_Formcalc = 0,
- XFA_SCRIPTTYPE_Javascript,
- XFA_SCRIPTTYPE_Unkown,
+enum class XFA_ScriptDataType {
+ Formcalc = 0,
+ Javascript,
+ Unknown,
};
class CXFA_Node;
@@ -24,7 +24,7 @@ class CXFA_ScriptData : public CXFA_Data {
public:
explicit CXFA_ScriptData(CXFA_Node* pNode);
- XFA_SCRIPTTYPE GetContentType();
+ XFA_ScriptDataType GetContentType();
int32_t GetRunAt();
void GetExpression(WideString& wsExpression);
};