summaryrefslogtreecommitdiff
path: root/xfa/fde/cfde_txtedttextset.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-08-16 17:26:23 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-08-17 18:28:34 +0000
commit9342b33ec0e2b43c0ee0b94bb70f2e981c263877 (patch)
tree519e4585c8897224b4e778230876988790fbeb2a /xfa/fde/cfde_txtedttextset.cpp
parentb5df8a5abc6ed986b7fb9c43103d188d32deb4e7 (diff)
downloadpdfium-9342b33ec0e2b43c0ee0b94bb70f2e981c263877.tar.xz
Remove redundant members in CFDE_TxtEdtEngine
This CL removes a bunch of redundant members from the text edit engine. The change information tracking was removed as most of it was unused or was used inconsistently. Change-Id: I92460594e46accff0b78e1183c8574fc83ce728a Reviewed-on: https://pdfium-review.googlesource.com/11275 Reviewed-by: Henrique Nakashima <hnakashima@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fde/cfde_txtedttextset.cpp')
-rw-r--r--xfa/fde/cfde_txtedttextset.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/xfa/fde/cfde_txtedttextset.cpp b/xfa/fde/cfde_txtedttextset.cpp
index fce52d3278..0b6cf8214e 100644
--- a/xfa/fde/cfde_txtedttextset.cpp
+++ b/xfa/fde/cfde_txtedttextset.cpp
@@ -35,7 +35,6 @@ int32_t CFDE_TxtEdtTextSet::GetDisplayPos(const FDE_TEXTEDITPIECE& piece,
tr.dwStyles = dwLayoutStyle;
tr.dwCharStyles = piece.dwCharStyles;
tr.pRect = &piece.rtPiece;
- tr.wLineBreakChar = pTextParams->wLineBreakChar;
return pBreak->GetDisplayPos(&tr, pCharPos);
}
@@ -57,6 +56,5 @@ std::vector<CFX_RectF> CFDE_TxtEdtTextSet::GetCharRects(
tr.dwStyles = dwLayoutStyle;
tr.dwCharStyles = pPiece->dwCharStyles;
tr.pRect = &pPiece->rtPiece;
- tr.wLineBreakChar = pTextParams->wLineBreakChar;
return pEngine->GetTextBreak()->GetCharRects(&tr, bBBox);
}