| Index: xfa/fxfa/parser/cxfa_font.cpp
 | 
| diff --git a/xfa/fxfa/parser/cxfa_font.cpp b/xfa/fxfa/parser/cxfa_font.cpp
 | 
| index 8579fcba80a882a5df277982b7d7aadea04b49af..261ef1f9ea2a79ec6c7c7ef055b433f6cb6bd4fd 100644
 | 
| --- a/xfa/fxfa/parser/cxfa_font.cpp
 | 
| +++ b/xfa/fxfa/parser/cxfa_font.cpp
 | 
| @@ -19,14 +19,14 @@ FX_FLOAT CXFA_Font::GetBaselineShift() {
 | 
|  FX_FLOAT CXFA_Font::GetHorizontalScale() {
 | 
|    CFX_WideString wsValue;
 | 
|    m_pNode->TryCData(XFA_ATTRIBUTE_FontHorizontalScale, wsValue);
 | 
| -  int32_t iScale = FXSYS_wtoi((const FX_WCHAR*)wsValue);
 | 
| +  int32_t iScale = FXSYS_wtoi(wsValue.c_str());
 | 
|    return iScale > 0 ? (FX_FLOAT)iScale : 100.0f;
 | 
|  }
 | 
|  
 | 
|  FX_FLOAT CXFA_Font::GetVerticalScale() {
 | 
|    CFX_WideString wsValue;
 | 
|    m_pNode->TryCData(XFA_ATTRIBUTE_FontVerticalScale, wsValue);
 | 
| -  int32_t iScale = FXSYS_wtoi((const FX_WCHAR*)wsValue);
 | 
| +  int32_t iScale = FXSYS_wtoi(wsValue.c_str());
 | 
|    return iScale > 0 ? (FX_FLOAT)iScale : 100.0f;
 | 
|  }
 | 
|  
 | 
| 
 |