diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-03-13 10:15:36 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-03-13 15:27:42 +0000 |
commit | 068d34426272bd7f02ffc12139ddd33ee2e237e6 (patch) | |
tree | 09e138a9673a5e4a967618b7988cff76f8b8b5ad /xfa/fde/cfde_txtedtengine.cpp | |
parent | a5a3de93dd6e15740a337a28640d13407cb0368f (diff) | |
download | pdfium-068d34426272bd7f02ffc12139ddd33ee2e237e6.tar.xz |
Remove TextBreak rotation code
The rotation value is always 0 so we end up doing nothing for the
rotation.
Change-Id: Ib12a269d4f3c16961b1b934bf9dfc04d1c368e51
Reviewed-on: https://pdfium-review.googlesource.com/2943
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: Nicolás Peña <npm@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'xfa/fde/cfde_txtedtengine.cpp')
-rw-r--r-- | xfa/fde/cfde_txtedtengine.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/xfa/fde/cfde_txtedtengine.cpp b/xfa/fde/cfde_txtedtengine.cpp index 8fd521a66b..a22ed7064f 100644 --- a/xfa/fde/cfde_txtedtengine.cpp +++ b/xfa/fde/cfde_txtedtengine.cpp @@ -40,7 +40,6 @@ FDE_TXTEDTPARAMS::FDE_TXTEDTPARAMS() bTabEquidistant(false), wDefChar(0xFEFF), wLineBreakChar('\n'), - nCharRotation(0), nLineEnd(0), nHorzScale(100), fCharSpace(0), @@ -1041,7 +1040,6 @@ void CFDE_TxtEdtEngine::UpdateTxtBreak() { m_pTextBreak->SetTabWidth(m_Param.fTabWidth, m_Param.bTabEquidistant); m_pTextBreak->SetDefaultChar(m_Param.wDefChar); m_pTextBreak->SetParagraphBreakChar(m_Param.wLineBreakChar); - m_pTextBreak->SetCharRotation(m_Param.nCharRotation); m_pTextBreak->SetLineBreakTolerance(m_Param.fFontSize * 0.2f); m_pTextBreak->SetHorizontalScale(m_Param.nHorzScale); m_pTextBreak->SetCharSpace(m_Param.fCharSpace); |