summaryrefslogtreecommitdiff
path: root/xfa/fxfa/fm2js/xfa_lexer.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-03-14 10:28:45 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-03-14 18:36:11 +0000
commit6b94f01d1c8ad386d497428c7397b1a99614aeba (patch)
tree4b7095d1f20b4aa71418dfdee83ffd1e838ae20d /xfa/fxfa/fm2js/xfa_lexer.cpp
parent812e96c2b4c5908a1979da5e27cdcecda0d1dfc9 (diff)
downloadpdfium-6b94f01d1c8ad386d497428c7397b1a99614aeba.tar.xz
Replace FX_DOUBLE with underlying double type.
Change-Id: Ife4a46157ec1044b24965f7d282858f8261031b1 Reviewed-on: https://pdfium-review.googlesource.com/3030 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/fm2js/xfa_lexer.cpp')
-rw-r--r--xfa/fxfa/fm2js/xfa_lexer.cpp6
1 files changed, 3 insertions, 3 deletions
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;
}