From 6b94f01d1c8ad386d497428c7397b1a99614aeba Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Tue, 14 Mar 2017 10:28:45 -0400 Subject: Replace FX_DOUBLE with underlying double type. Change-Id: Ife4a46157ec1044b24965f7d282858f8261031b1 Reviewed-on: https://pdfium-review.googlesource.com/3030 Reviewed-by: Tom Sepez Commit-Queue: dsinclair --- xfa/fxfa/fm2js/xfa_lexer.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'xfa/fxfa/fm2js/xfa_lexer.cpp') diff --git a/xfa/fxfa/fm2js/xfa_lexer.cpp b/xfa/fxfa/fm2js/xfa_lexer.cpp index e83877eb13..5d3f6f5890 100644 --- a/xfa/fxfa/fm2js/xfa_lexer.cpp +++ b/xfa/fxfa/fm2js/xfa_lexer.cpp @@ -38,7 +38,7 @@ struct XFA_FMDChar { } static bool isAvalid(const wchar_t* p, bool flag = 0); static bool string2number(const wchar_t* s, - FX_DOUBLE* pValue, + double* pValue, const wchar_t*& pEnd); static bool isUnicodeAlpha(uint16_t ch); }; @@ -60,7 +60,7 @@ inline bool XFA_FMDChar::isAvalid(const wchar_t* p, bool flag) { } inline bool XFA_FMDChar::string2number(const wchar_t* s, - FX_DOUBLE* pValue, + double* pValue, const wchar_t*& pEnd) { if (s) { *pValue = wcstod((wchar_t*)s, (wchar_t**)&pEnd); @@ -403,7 +403,7 @@ CXFA_FMToken* CXFA_FMLexer::Scan() { uint32_t CXFA_FMLexer::Number(CXFA_FMToken* t, const wchar_t* p, const wchar_t*& pEnd) { - FX_DOUBLE number = 0; + double number = 0; if (XFA_FMDChar::string2number(p, &number, pEnd)) { return 1; } -- cgit v1.2.3