summaryrefslogtreecommitdiff
path: root/xfa/fgas/layout/cfx_txtbreak.cpp
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2017-07-27 13:47:27 -0700
committerChromium commit bot <commit-bot@chromium.org>2017-07-27 23:20:44 +0000
commit672a1721620c3f4e62fe6adfaceb929d423ae31f (patch)
treecd9e07848dc9a99e48a9276324c2dbcb655e4ffc /xfa/fgas/layout/cfx_txtbreak.cpp
parent3f7ff0540e7913ddc2c2d4f60e144cc0c7700e9e (diff)
downloadpdfium-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 'xfa/fgas/layout/cfx_txtbreak.cpp')
-rw-r--r--xfa/fgas/layout/cfx_txtbreak.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fgas/layout/cfx_txtbreak.cpp b/xfa/fgas/layout/cfx_txtbreak.cpp
index e898a22991..37e261bbed 100644
--- a/xfa/fgas/layout/cfx_txtbreak.cpp
+++ b/xfa/fgas/layout/cfx_txtbreak.cpp
@@ -793,7 +793,7 @@ int32_t CFX_TxtBreak::GetDisplayPos(const FX_TXTRUN* pTxtRun,
} else if (wch == L',') {
wForm = wch;
} else if (bRTLPiece) {
- wForm = FX_GetMirrorChar(wch, dwProps, bRTLPiece, false);
+ wForm = FX_GetMirrorChar(wch, dwProps);
} else {
wForm = wch;
}