diff options
Diffstat (limited to 'xfa/fgas/layout/cfx_breakline.cpp')
-rw-r--r-- | xfa/fgas/layout/cfx_breakline.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fgas/layout/cfx_breakline.cpp b/xfa/fgas/layout/cfx_breakline.cpp index 562f984ffe..9eb0211119 100644 --- a/xfa/fgas/layout/cfx_breakline.cpp +++ b/xfa/fgas/layout/cfx_breakline.cpp @@ -39,7 +39,7 @@ void CFX_BreakLine::GetString(CFX_WideString& wsStr) const { int32_t iCount = pdfium::CollectionSize<int32_t>(m_LineChars); wchar_t* pBuf = wsStr.GetBuffer(iCount); for (int32_t i = 0; i < iCount; i++) - *pBuf++ = static_cast<wchar_t>(m_LineChars[i].m_wCharCode); + *pBuf++ = static_cast<wchar_t>(m_LineChars[i].char_code()); wsStr.ReleaseBuffer(iCount); } |