summaryrefslogtreecommitdiff
path: root/fxjs/xfa
diff options
context:
space:
mode:
Diffstat (limited to 'fxjs/xfa')
-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());
}