From 91c2f7cdcf8545d764a8b6543b42f0819f8d4ad3 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Mon, 18 Sep 2017 11:54:24 -0700 Subject: Remove some unused variables. BUG=chromium:760070 Change-Id: Icb2e46da86b6b7e71dae309a015ae1c5301fc931 Reviewed-on: https://pdfium-review.googlesource.com/14230 Reviewed-by: Henrique Nakashima Commit-Queue: Lei Zhang --- xfa/fgas/layout/cfx_txtbreak.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'xfa/fgas/layout') diff --git a/xfa/fgas/layout/cfx_txtbreak.cpp b/xfa/fgas/layout/cfx_txtbreak.cpp index c30b4a1704..9fe5a432f6 100644 --- a/xfa/fgas/layout/cfx_txtbreak.cpp +++ b/xfa/fgas/layout/cfx_txtbreak.cpp @@ -665,7 +665,6 @@ int32_t CFX_TxtBreak::GetDisplayPos(const FX_TXTRUN* pTxtRun, float fX = rtText.left; float fY; float fCharWidth; - float fCharHeight; int32_t iHorScale = pTxtRun->iHorizontalScale; int32_t iVerScale = pTxtRun->iVerticalScale; bool bSkipSpace = pTxtRun->bSkipSpace; @@ -835,10 +834,7 @@ int32_t CFX_TxtBreak::GetDisplayPos(const FX_TXTRUN* pTxtRun, pCharPos->m_FontCharWidth = iCharWidth; } - int32_t iCharHeight = 1000; - fCharWidth = fFontSize * iCharWidth / 1000.0f; - fCharHeight = fFontSize * iCharHeight / 1000.0f; if (bRTLPiece && chartype != FX_CHARTYPE_Combination) fX -= fCharWidth; -- cgit v1.2.3