summaryrefslogtreecommitdiff
path: root/fxjs
diff options
context:
space:
mode:
Diffstat (limited to 'fxjs')
-rw-r--r--fxjs/cfxjse_engine.h2
-rw-r--r--fxjs/cfxjse_resolveprocessor.cpp2
-rw-r--r--fxjs/cfxjse_resolveprocessor.h4
3 files changed, 3 insertions, 5 deletions
diff --git a/fxjs/cfxjse_engine.h b/fxjs/cfxjse_engine.h
index 4d4daf8e0d..bf561e7732 100644
--- a/fxjs/cfxjse_engine.h
+++ b/fxjs/cfxjse_engine.h
@@ -20,8 +20,6 @@
#include "xfa/fxfa/parser/cxfa_script.h"
#include "xfa/fxfa/parser/xfa_resolvenode_rs.h"
-#define XFA_RESOLVENODE_TagName 0x0002
-
class CFXJSE_ResolveProcessor;
class CJS_Runtime;
class CXFA_List;
diff --git a/fxjs/cfxjse_resolveprocessor.cpp b/fxjs/cfxjse_resolveprocessor.cpp
index 917f78cabb..6dd4d0c430 100644
--- a/fxjs/cfxjse_resolveprocessor.cpp
+++ b/fxjs/cfxjse_resolveprocessor.cpp
@@ -26,7 +26,7 @@
#include "xfa/fxfa/parser/xfa_utils.h"
CFXJSE_ResolveProcessor::CFXJSE_ResolveProcessor()
- : m_iCurStart(0), m_pNodeHelper(pdfium::MakeUnique<CXFA_NodeHelper>()) {}
+ : m_pNodeHelper(pdfium::MakeUnique<CXFA_NodeHelper>()) {}
CFXJSE_ResolveProcessor::~CFXJSE_ResolveProcessor() {}
diff --git a/fxjs/cfxjse_resolveprocessor.h b/fxjs/cfxjse_resolveprocessor.h
index 71aba6efa8..521128b62c 100644
--- a/fxjs/cfxjse_resolveprocessor.h
+++ b/fxjs/cfxjse_resolveprocessor.h
@@ -70,8 +70,8 @@ class CFXJSE_ResolveProcessor {
CFXJSE_ResolveNodeData& rnd);
void FilterCondition(CFXJSE_ResolveNodeData& rnd, WideString wsCondition);
- int32_t m_iCurStart;
- std::unique_ptr<CXFA_NodeHelper> m_pNodeHelper;
+ int32_t m_iCurStart = 0;
+ const std::unique_ptr<CXFA_NodeHelper> m_pNodeHelper;
};
#endif // FXJS_CFXJSE_RESOLVEPROCESSOR_H_