summaryrefslogtreecommitdiff
path: root/xfa/fxfa/fm2js/xfa_fm2jscontext.h
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-06-01 20:07:22 -0700
committerCommit bot <commit-bot@chromium.org>2016-06-01 20:07:22 -0700
commitdbdcb81a82cd9e46023a3ee500df75717c1a47b4 (patch)
treed72a59abe89faaf59a720b66668edaeee357e5ca /xfa/fxfa/fm2js/xfa_fm2jscontext.h
parent0e0a86a34783d4844d9cd78bb3437034e54f4581 (diff)
downloadpdfium-dbdcb81a82cd9e46023a3ee500df75717c1a47b4.tar.xz
xfa_fm2jscontext method cleanup - pt III
Cleanup ::Min, ::Mod, ::Round, ::Date2Num, ::DateFmt and ::ISoTime2Num. Review-Url: https://codereview.chromium.org/2028063002
Diffstat (limited to 'xfa/fxfa/fm2js/xfa_fm2jscontext.h')
-rw-r--r--xfa/fxfa/fm2js/xfa_fm2jscontext.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/xfa/fxfa/fm2js/xfa_fm2jscontext.h b/xfa/fxfa/fm2js/xfa_fm2jscontext.h
index a5270092e8..3d54eaf93f 100644
--- a/xfa/fxfa/fm2js/xfa_fm2jscontext.h
+++ b/xfa/fxfa/fm2js/xfa_fm2jscontext.h
@@ -431,6 +431,9 @@ class CXFA_FM2JSContext : public CFXJSE_HostObject {
static FX_DOUBLE ValueToDouble(CFXJSE_Value* pThis, CFXJSE_Value* pValue);
static void ValueToUTF8String(CFXJSE_Value* pValue,
CFX_ByteString& outputValue);
+ static double ExtractDouble(CFXJSE_Value* pThis,
+ CFXJSE_Value* src,
+ bool* ret);
static int32_t Translate(const CFX_WideStringC& wsFormcalc,
CFX_WideTextBuf& wsJavascript,