summaryrefslogtreecommitdiff
path: root/xfa/fgas/layout/cfx_txtbreak.cpp
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2017-07-28 02:37:40 -0700
committerChromium commit bot <commit-bot@chromium.org>2017-07-28 18:47:06 +0000
commit9a80eccbdba1994dd792ed5f00460a9badc4d332 (patch)
treea11b8505f950bab38f62bdad68bf7faa3ef28c1c /xfa/fgas/layout/cfx_txtbreak.cpp
parentd3c6f8119a4c6cd143c6f2f3f874705f57afaf36 (diff)
downloadpdfium-9a80eccbdba1994dd792ed5f00460a9badc4d332.tar.xz
Remove unused param from CFX_TxtBreak::AppendChar_PageLoad().
Change-Id: Ie4bf8100aca9d22e07406a9479c9ff891c953fe8 Reviewed-on: https://pdfium-review.googlesource.com/9450 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.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fgas/layout/cfx_txtbreak.cpp b/xfa/fgas/layout/cfx_txtbreak.cpp
index 37e261bbed..a5a5822d1c 100644
--- a/xfa/fgas/layout/cfx_txtbreak.cpp
+++ b/xfa/fgas/layout/cfx_txtbreak.cpp
@@ -45,7 +45,7 @@ void CFX_TxtBreak::SetCombWidth(float fCombWidth) {
m_iCombWidth = FXSYS_round(fCombWidth * 20000.0f);
}
-void CFX_TxtBreak::AppendChar_PageLoad(CFX_Char* pCurChar, uint32_t dwProps) {
+void CFX_TxtBreak::AppendChar_PageLoad(CFX_Char* pCurChar) {
pCurChar->m_dwStatus = CFX_BreakType::None;
pCurChar->m_dwCharStyles = m_iAlignment | (1 << 8);
}
@@ -222,7 +222,7 @@ CFX_BreakType CFX_TxtBreak::AppendChar(wchar_t wch) {
pCurChar->m_iBidiPos = 0;
pCurChar->m_iBidiOrder = 0;
- AppendChar_PageLoad(pCurChar, dwProps);
+ AppendChar_PageLoad(pCurChar);
CFX_BreakType dwRet1 = CFX_BreakType::None;
if (chartype != FX_CHARTYPE_Combination &&
GetUnifiedCharType(m_eCharType) != GetUnifiedCharType(chartype) &&