summaryrefslogtreecommitdiff
path: root/xfa/fxfa/fm2js/xfa_fm2jscontext.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-05-16 12:17:50 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-05-16 16:29:23 +0000
commitc0d358ad234843a524a1bcc2a439f08ad0c64aa1 (patch)
treedfb046a476f5dece9f76764415e6f297591f1829 /xfa/fxfa/fm2js/xfa_fm2jscontext.h
parent2eef64cba5c8e08a9e625f4aba5a7fbdc8e62bad (diff)
downloadpdfium-c0d358ad234843a524a1bcc2a439f08ad0c64aa1.tar.xz
Update formcalc return types
Update return types to be bools instead of ints. Make some methods private. Change-Id: I5d55c48a861f90e9bd116ef835c11cdb515002a6 Reviewed-on: https://pdfium-review.googlesource.com/5553 Commit-Queue: dsinclair <dsinclair@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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fxfa/fm2js/xfa_fm2jscontext.h b/xfa/fxfa/fm2js/xfa_fm2jscontext.h
index bde185d28c..6508852ba2 100644
--- a/xfa/fxfa/fm2js/xfa_fm2jscontext.h
+++ b/xfa/fxfa/fm2js/xfa_fm2jscontext.h
@@ -427,8 +427,8 @@ class CXFA_FM2JSContext : public CFXJSE_HostObject {
CFXJSE_Value* src,
bool* ret);
- static int32_t Translate(const CFX_WideStringC& wsFormcalc,
- CFX_WideTextBuf* wsJavascript);
+ static bool Translate(const CFX_WideStringC& wsFormcalc,
+ CFX_WideTextBuf* wsJavascript);
void GlobalPropertyGetter(CFXJSE_Value* pValue);