summaryrefslogtreecommitdiff
path: root/xfa/fgas/layout
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2017-09-18 11:54:24 -0700
committerChromium commit bot <commit-bot@chromium.org>2017-09-18 19:15:36 +0000
commit91c2f7cdcf8545d764a8b6543b42f0819f8d4ad3 (patch)
treefb34467d49bcc982fb6a21c92d7a0b3f3a794c11 /xfa/fgas/layout
parent275e260a6cd4a8e506ba974feb85ebcd926c1739 (diff)
downloadpdfium-91c2f7cdcf8545d764a8b6543b42f0819f8d4ad3.tar.xz
Remove some unused variables.
BUG=chromium:760070 Change-Id: Icb2e46da86b6b7e71dae309a015ae1c5301fc931 Reviewed-on: https://pdfium-review.googlesource.com/14230 Reviewed-by: Henrique Nakashima <hnakashima@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'xfa/fgas/layout')
-rw-r--r--xfa/fgas/layout/cfx_txtbreak.cpp4
1 files changed, 0 insertions, 4 deletions
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;