From 068d34426272bd7f02ffc12139ddd33ee2e237e6 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Mon, 13 Mar 2017 10:15:36 -0400 Subject: Remove TextBreak rotation code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Nicolás Peña Reviewed-by: Tom Sepez --- xfa/fde/cfde_txtedttextset.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'xfa/fde/cfde_txtedttextset.cpp') 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 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; -- cgit v1.2.3