summaryrefslogtreecommitdiff
path: root/fxjs/xfa/cjx_tree.cpp
diff options
context:
space:
mode:
authorRyan Harrison <rharrison@chromium.org>2018-01-05 11:06:55 -0500
committerChromium commit bot <commit-bot@chromium.org>2018-01-05 16:36:57 +0000
commit2c0ca7ddbc38e33cc692b2be02c32419b97927e0 (patch)
treeff91c2bc992ec1a718e87f923e70e550f0555160 /fxjs/xfa/cjx_tree.cpp
parent1f04e6111013673880767e98834fa9bb649c7aac (diff)
downloadpdfium-2c0ca7ddbc38e33cc692b2be02c32419b97927e0.tar.xz
Convert GetSOMExpression methods to return WideString
Change-Id: I34eb40ff1c14e7b9362d4e52166243eacc6710da Reviewed-on: https://pdfium-review.googlesource.com/22270 Reviewed-by: Henrique Nakashima <hnakashima@chromium.org> Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'fxjs/xfa/cjx_tree.cpp')
-rw-r--r--fxjs/xfa/cjx_tree.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/fxjs/xfa/cjx_tree.cpp b/fxjs/xfa/cjx_tree.cpp
index 1a20611cad..4a7a2fcc17 100644
--- a/fxjs/xfa/cjx_tree.cpp
+++ b/fxjs/xfa/cjx_tree.cpp
@@ -196,8 +196,7 @@ void CJX_Tree::somExpression(CFXJSE_Value* pValue,
return;
}
- WideString wsSOMExpression;
- GetXFAObject()->GetSOMExpression(wsSOMExpression);
+ WideString wsSOMExpression = GetXFAObject()->GetSOMExpression();
pValue->SetString(wsSOMExpression.UTF8Encode().AsStringView());
}