summaryrefslogtreecommitdiff
path: root/xfa
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-08-28 11:04:00 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-08-28 15:04:28 +0000
commit133617c2d2b941e239e9234b1a4e9dc7476a2fa5 (patch)
treeebf974ea557c3f5150e060cad144b293b63b81bb /xfa
parented48c1a42b2f9a0c8cb04185c180c6424bad3b83 (diff)
downloadpdfium-133617c2d2b941e239e9234b1a4e9dc7476a2fa5.tar.xz
Remove code which does nothing
This code will just add 0 to x and subtract 0 from y. Doing nothing. Remove. Change-Id: I6e0aa91d088acd49cb83d4bded29908b544b692b Reviewed-on: https://pdfium-review.googlesource.com/12110 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: Henrique Nakashima <hnakashima@chromium.org> Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'xfa')
-rw-r--r--xfa/fgas/layout/cfx_txtbreak.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/xfa/fgas/layout/cfx_txtbreak.cpp b/xfa/fgas/layout/cfx_txtbreak.cpp
index 8d084fb41e..56199555ea 100644
--- a/xfa/fgas/layout/cfx_txtbreak.cpp
+++ b/xfa/fgas/layout/cfx_txtbreak.cpp
@@ -860,9 +860,6 @@ int32_t CFX_TxtBreak::GetDisplayPos(const FX_TXTRUN* pTxtRun,
}
}
}
- CFX_PointF ptOffset;
- pCharPos->m_Origin.x += ptOffset.x;
- pCharPos->m_Origin.y -= ptOffset.y;
}
if (!bRTLPiece && chartype != FX_CHARTYPE_Combination)
fX += fCharWidth;