From 9a80eccbdba1994dd792ed5f00460a9badc4d332 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Fri, 28 Jul 2017 02:37:40 -0700 Subject: Remove unused param from CFX_TxtBreak::AppendChar_PageLoad(). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ie4bf8100aca9d22e07406a9479c9ff891c953fe8 Reviewed-on: https://pdfium-review.googlesource.com/9450 Reviewed-by: Nicolás Peña Commit-Queue: Lei Zhang --- xfa/fgas/layout/cfx_txtbreak.cpp | 4 ++-- xfa/fgas/layout/cfx_txtbreak.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'xfa/fgas') 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) && diff --git a/xfa/fgas/layout/cfx_txtbreak.h b/xfa/fgas/layout/cfx_txtbreak.h index 0f11844453..3cb483c84e 100644 --- a/xfa/fgas/layout/cfx_txtbreak.h +++ b/xfa/fgas/layout/cfx_txtbreak.h @@ -76,7 +76,7 @@ class CFX_TxtBreak : public CFX_Break { private: void AppendChar_Combination(CFX_Char* pCurChar); void AppendChar_Tab(CFX_Char* pCurChar); - void AppendChar_PageLoad(CFX_Char* pCurChar, uint32_t dwProps); + void AppendChar_PageLoad(CFX_Char* pCurChar); CFX_BreakType AppendChar_Control(CFX_Char* pCurChar); CFX_BreakType AppendChar_Arabic(CFX_Char* pCurChar); CFX_BreakType AppendChar_Others(CFX_Char* pCurChar); -- cgit v1.2.3