summaryrefslogtreecommitdiff
path: root/xfa/fgas/layout/cfx_breakpiece.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_breakpiece.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_breakpiece.cpp')
-rw-r--r--xfa/fgas/layout/cfx_breakpiece.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fgas/layout/cfx_breakpiece.cpp b/xfa/fgas/layout/cfx_breakpiece.cpp
index 605b900a6e..70ac66e8ba 100644
--- a/xfa/fgas/layout/cfx_breakpiece.cpp
+++ b/xfa/fgas/layout/cfx_breakpiece.cpp
@@ -38,7 +38,7 @@ CFX_WideString CFX_BreakPiece::GetString() const {
CFX_WideString ret;
ret.Reserve(m_iChars);
for (int32_t i = m_iStartChar; i < m_iStartChar + m_iChars; i++)
- ret += static_cast<wchar_t>((*m_pChars)[i].m_wCharCode);
+ ret += static_cast<wchar_t>((*m_pChars)[i].char_code());
return ret;
}