summaryrefslogtreecommitdiff
path: root/fxjs/cfxjse_resolveprocessor.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-11-21 22:02:20 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-11-21 22:02:20 +0000
commit307dfb406422f9589fcdb09039b4c31a9c5f6269 (patch)
tree7d176d1f37af77877cfb2714e5ea415f344ba9db /fxjs/cfxjse_resolveprocessor.cpp
parent96d6f741b3c106ba0e48a05692910f64cf1e5e09 (diff)
downloadpdfium-307dfb406422f9589fcdb09039b4c31a9c5f6269.tar.xz
Cleanup CXFA_ScriptData
This CL cleans removes out params, makes methods const and moves the XFA_ScriptDataType into CXFA_ScriptData. Change-Id: I5a51a0eddc3608577a387472911000daa479af0f Reviewed-on: https://pdfium-review.googlesource.com/19090 Reviewed-by: Henrique Nakashima <hnakashima@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fxjs/cfxjse_resolveprocessor.cpp')
-rw-r--r--fxjs/cfxjse_resolveprocessor.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/fxjs/cfxjse_resolveprocessor.cpp b/fxjs/cfxjse_resolveprocessor.cpp
index ef7ddc10fb..3a6bc91d50 100644
--- a/fxjs/cfxjse_resolveprocessor.cpp
+++ b/fxjs/cfxjse_resolveprocessor.cpp
@@ -661,11 +661,11 @@ void CFXJSE_ResolveProcessor::DoPredicateFilter(int32_t iCurIndex,
CFXJSE_ResolveNodeData& rnd) {
ASSERT(iFoundCount == pdfium::CollectionSize<int32_t>(rnd.m_Objects));
WideString wsExpression;
- XFA_ScriptDataType eLangType = XFA_ScriptDataType::Unknown;
+ CXFA_ScriptData::Type eLangType = CXFA_ScriptData::Type::Unknown;
if (wsCondition.Left(2) == L".[" && wsCondition.Last() == L']') {
- eLangType = XFA_ScriptDataType::Formcalc;
+ eLangType = CXFA_ScriptData::Type::Formcalc;
} else if (wsCondition.Left(2) == L".(" && wsCondition.Last() == L')') {
- eLangType = XFA_ScriptDataType::Javascript;
+ eLangType = CXFA_ScriptData::Type::Javascript;
} else {
return;
}