summaryrefslogtreecommitdiff
path: root/xfa/fxfa/fm2js/xfa_fm2jscontext.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2017-05-10 13:38:20 -0700
committerChromium commit bot <commit-bot@chromium.org>2017-05-10 20:51:35 +0000
commit6f62ccd50ff85ba6a60ddf47993745739854cd8f (patch)
tree31ccdd4107b9e20939f92179f7a4f8a4d2d025d4 /xfa/fxfa/fm2js/xfa_fm2jscontext.h
parent5b590337e0778b49dd7092af4a283ed0f9c5a2e9 (diff)
downloadpdfium-6f62ccd50ff85ba6a60ddf47993745739854cd8f.tar.xz
Check CXFA_FM2JSContext::Translate() return value.
Remove not useful error parameter. Change-Id: I6f49a51a47c9d7f45e75a585679e15f0414aac26 Reviewed-on: https://pdfium-review.googlesource.com/5254 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Nicolás Peña <npm@chromium.org>
Diffstat (limited to 'xfa/fxfa/fm2js/xfa_fm2jscontext.h')
-rw-r--r--xfa/fxfa/fm2js/xfa_fm2jscontext.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/xfa/fxfa/fm2js/xfa_fm2jscontext.h b/xfa/fxfa/fm2js/xfa_fm2jscontext.h
index 33f739f1cc..bde185d28c 100644
--- a/xfa/fxfa/fm2js/xfa_fm2jscontext.h
+++ b/xfa/fxfa/fm2js/xfa_fm2jscontext.h
@@ -428,8 +428,7 @@ class CXFA_FM2JSContext : public CFXJSE_HostObject {
bool* ret);
static int32_t Translate(const CFX_WideStringC& wsFormcalc,
- CFX_WideTextBuf& wsJavascript,
- CFX_WideString& wsError);
+ CFX_WideTextBuf* wsJavascript);
void GlobalPropertyGetter(CFXJSE_Value* pValue);