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_txtedttextset.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_txtedttextset.cpp')
-rw-r--r-- | xfa/fde/cfde_txtedttextset.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/xfa/fde/cfde_txtedttextset.cpp b/xfa/fde/cfde_txtedttextset.cpp index 8d32f75ff3..e13663457d 100644 --- a/xfa/fde/cfde_txtedttextset.cpp +++ b/xfa/fde/cfde_txtedttextset.cpp @@ -65,7 +65,6 @@ int32_t CFDE_TxtEdtTextSet::GetDisplayPos(const FDE_TEXTEDITPIECE& piece, tr.pFont = pTextParams->pFont; tr.fFontSize = pTextParams->fFontSize; tr.dwStyles = dwLayoutStyle; - tr.iCharRotation = pTextParams->nCharRotation; tr.dwCharStyles = piece.dwCharStyles; tr.pRect = &piece.rtPiece; tr.wLineBreakChar = pTextParams->wLineBreakChar; @@ -88,7 +87,6 @@ std::vector<CFX_RectF> CFDE_TxtEdtTextSet::GetCharRects( tr.pFont = pTextParams->pFont; tr.fFontSize = pTextParams->fFontSize; tr.dwStyles = dwLayoutStyle; - tr.iCharRotation = pTextParams->nCharRotation; tr.dwCharStyles = pPiece->dwCharStyles; tr.pRect = &pPiece->rtPiece; tr.wLineBreakChar = pTextParams->wLineBreakChar; |