From dbdcb81a82cd9e46023a3ee500df75717c1a47b4 Mon Sep 17 00:00:00 2001 From: dsinclair Date: Wed, 1 Jun 2016 20:07:22 -0700 Subject: xfa_fm2jscontext method cleanup - pt III Cleanup ::Min, ::Mod, ::Round, ::Date2Num, ::DateFmt and ::ISoTime2Num. Review-Url: https://codereview.chromium.org/2028063002 --- xfa/fxfa/fm2js/xfa_fm2jscontext.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'xfa/fxfa/fm2js/xfa_fm2jscontext.h') 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, -- cgit v1.2.3