From 74a30b76a0a50fc92cb567fa2a9e3500f04c0883 Mon Sep 17 00:00:00 2001 From: dsinclair Date: Mon, 18 Jul 2016 10:18:56 -0700 Subject: Remove default params in CPDF_VariableText. This Cl cleans up the default params and any supporting code if necessary. Review-Url: https://codereview.chromium.org/2146993002 --- core/fpdfdoc/ctypeset.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'core/fpdfdoc/ctypeset.cpp') diff --git a/core/fpdfdoc/ctypeset.cpp b/core/fpdfdoc/ctypeset.cpp index 8c85e79922..57d3733dc3 100644 --- a/core/fpdfdoc/ctypeset.cpp +++ b/core/fpdfdoc/ctypeset.cpp @@ -300,10 +300,8 @@ void CTypeset::SplitLines(FX_BOOL bTypeset, FX_FLOAT fFontSize) { } if (pWord) { if (bTypeset) { - fLineAscent = - std::max(fLineAscent, m_pVT->GetWordAscent(*pWord, TRUE)); - fLineDescent = - std::min(fLineDescent, m_pVT->GetWordDescent(*pWord, TRUE)); + fLineAscent = std::max(fLineAscent, m_pVT->GetWordAscent(*pWord)); + fLineDescent = std::min(fLineDescent, m_pVT->GetWordDescent(*pWord)); fWordWidth = m_pVT->GetWordWidth(*pWord); } else { fLineAscent = -- cgit v1.2.3