summaryrefslogtreecommitdiff
path: root/fxjs/cfxjse_engine.cpp
diff options
context:
space:
mode:
authorRyan Harrison <rharrison@chromium.org>2018-01-04 16:27:53 -0500
committerChromium commit bot <commit-bot@chromium.org>2018-01-05 15:29:57 +0000
commita63f992c043bc64a11c1eee5c8e7c9af1860650e (patch)
tree01b87dc31244f752b579ebc9e50f658edf6e4d9c /fxjs/cfxjse_engine.cpp
parent9aeb0caba4cda9c6bd39ed079f88000a712f9890 (diff)
downloadpdfium-a63f992c043bc64a11c1eee5c8e7c9af1860650e.tar.xz
Convert CXFA_NodeHelper::GetNameExpression to return WideString
Change-Id: Id762e195632a691c392873113f01852686bbb55f Reviewed-on: https://pdfium-review.googlesource.com/22262 Reviewed-by: dsinclair <dsinclair@chromium.org> Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'fxjs/cfxjse_engine.cpp')
-rw-r--r--fxjs/cfxjse_engine.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/fxjs/cfxjse_engine.cpp b/fxjs/cfxjse_engine.cpp
index 224cb25fd7..b9cd502e96 100644
--- a/fxjs/cfxjse_engine.cpp
+++ b/fxjs/cfxjse_engine.cpp
@@ -741,8 +741,8 @@ int32_t CFXJSE_Engine::GetIndexByClassName(CXFA_Node* refNode) {
void CFXJSE_Engine::GetSomExpression(CXFA_Node* refNode,
WideString& wsExpression) {
CXFA_NodeHelper* lpNodeHelper = m_ResolveProcessor->GetNodeHelper();
- lpNodeHelper->GetNameExpression(refNode, wsExpression, true,
- XFA_LOGIC_Transparent);
+ wsExpression =
+ lpNodeHelper->GetNameExpression(refNode, true, XFA_LOGIC_Transparent);
}
void CFXJSE_Engine::SetNodesOfRunScript(std::vector<CXFA_Node*>* pArray) {