summaryrefslogtreecommitdiff
path: root/xfa/fgas/layout/cfx_breakline.cpp
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2017-08-01 14:00:19 -0700
committerChromium commit bot <commit-bot@chromium.org>2017-08-01 21:31:41 +0000
commit04f736099c065d83193d2ceeccd6d125d7fe789d (patch)
tree0b4c5809f01db0556fcaa138d1d162c25d4684c9 /xfa/fgas/layout/cfx_breakline.cpp
parent98073c826b6eb1b78f8dc695577d09d4ee9cf6b8 (diff)
downloadpdfium-04f736099c065d83193d2ceeccd6d125d7fe789d.tar.xz
Encapsulate some CFX_Char members.
Change-Id: Iab34de5858ae06582023be220ef7dd0d1d0a91c9 Reviewed-on: https://pdfium-review.googlesource.com/9530 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Nicolás Peña <npm@chromium.org>
Diffstat (limited to 'xfa/fgas/layout/cfx_breakline.cpp')
-rw-r--r--xfa/fgas/layout/cfx_breakline.cpp2
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);
}