From e8c1d4144e8407c0631116a954fa347dd39375ff Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Thu, 4 May 2017 12:13:55 -0700 Subject: Give a couple of char to int functions better names. - FXSYS_toDecimalDigit() becomes FXSYS_DecimalCharToInt(). - FXSYS_toHexDigit() becomes FXSYS_HexCharToInt(). Change-Id: If4683e8f85f05124b92ff075056cbc295442087d Reviewed-on: https://pdfium-review.googlesource.com/4930 Reviewed-by: Tom Sepez Commit-Queue: Lei Zhang --- xfa/fde/css/cfde_cssdeclaration.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xfa/fde') diff --git a/xfa/fde/css/cfde_cssdeclaration.cpp b/xfa/fde/css/cfde_cssdeclaration.cpp index 4de8cb74f0..4179e61f5d 100644 --- a/xfa/fde/css/cfde_cssdeclaration.cpp +++ b/xfa/fde/css/cfde_cssdeclaration.cpp @@ -20,7 +20,7 @@ namespace { uint8_t Hex2Dec(uint8_t hexHigh, uint8_t hexLow) { - return (FXSYS_toHexDigit(hexHigh) << 4) + FXSYS_toHexDigit(hexLow); + return (FXSYS_HexCharToInt(hexHigh) << 4) + FXSYS_HexCharToInt(hexLow); } bool ParseCSSNumber(const wchar_t* pszValue, -- cgit v1.2.3