diff options
author | Lei Zhang <thestig@chromium.org> | 2017-07-27 13:47:27 -0700 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-07-27 23:20:44 +0000 |
commit | 672a1721620c3f4e62fe6adfaceb929d423ae31f (patch) | |
tree | cd9e07848dc9a99e48a9276324c2dbcb655e4ffc /core/fpdftext/cpdf_textpage.cpp | |
parent | 3f7ff0540e7913ddc2c2d4f60e144cc0c7700e9e (diff) | |
download | pdfium-672a1721620c3f4e62fe6adfaceb929d423ae31f.tar.xz |
Simplify FX_GetMirrorChar() code.
Change-Id: I43ec0d4a3b60d51c59ba5a540dfe24803e725089
Reviewed-on: https://pdfium-review.googlesource.com/9170
Reviewed-by: Nicolás Peña <npm@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core/fpdftext/cpdf_textpage.cpp')
-rw-r--r-- | core/fpdftext/cpdf_textpage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdftext/cpdf_textpage.cpp b/core/fpdftext/cpdf_textpage.cpp index b6b3a0dbce..1dc03db4ff 100644 --- a/core/fpdftext/cpdf_textpage.cpp +++ b/core/fpdftext/cpdf_textpage.cpp @@ -673,7 +673,7 @@ void CPDF_TextPage::AddCharInfoByRLDirection(wchar_t wChar, } info.m_Index = m_TextBuf.GetLength(); - wChar = FX_GetMirrorChar(wChar, true, false); + wChar = FX_GetMirrorChar(wChar); wchar_t* pDst = nullptr; FX_STRSIZE nCount = Unicode_GetNormalization(wChar, pDst); if (nCount >= 1) { |