summaryrefslogtreecommitdiff
path: root/xfa
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2018-03-27 19:35:44 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-03-27 19:35:44 +0000
commit43a25e87afb9b91fd7c0cae2a3429da104d58988 (patch)
tree4b5ff53d279f3b3ad9679978a9836549aab9dac9 /xfa
parent51d50d61fdee6a243ea1e2ec120560ae29c769e6 (diff)
downloadpdfium-43a25e87afb9b91fd7c0cae2a3429da104d58988.tar.xz
Remove unused FX_TXTRUN::pIdentity
Unused, removed. Change-Id: I0c7e65224777932e38ca93d81709c8321aecb1c5 Reviewed-on: https://pdfium-review.googlesource.com/29290 Reviewed-by: Henrique Nakashima <hnakashima@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa')
-rw-r--r--xfa/fde/cfde_texteditengine.cpp2
-rw-r--r--xfa/fgas/layout/cfx_txtbreak.cpp1
-rw-r--r--xfa/fgas/layout/cfx_txtbreak.h1
3 files changed, 0 insertions, 4 deletions
diff --git a/xfa/fde/cfde_texteditengine.cpp b/xfa/fde/cfde_texteditengine.cpp
index d085a8d147..39396ad00d 100644
--- a/xfa/fde/cfde_texteditengine.cpp
+++ b/xfa/fde/cfde_texteditengine.cpp
@@ -939,7 +939,6 @@ std::vector<CFX_RectF> CFDE_TextEditEngine::GetCharRects(
FX_TXTRUN tr;
tr.pEdtEngine = this;
- tr.pIdentity = &piece;
tr.iLength = piece.nCount;
tr.pFont = font_;
tr.fFontSize = font_size_;
@@ -956,7 +955,6 @@ std::vector<FXTEXT_CHARPOS> CFDE_TextEditEngine::GetDisplayPos(
FX_TXTRUN tr;
tr.pEdtEngine = this;
- tr.pIdentity = &piece;
tr.iLength = piece.nCount;
tr.pFont = font_;
tr.fFontSize = font_size_;
diff --git a/xfa/fgas/layout/cfx_txtbreak.cpp b/xfa/fgas/layout/cfx_txtbreak.cpp
index b0199922c4..30ed3a6746 100644
--- a/xfa/fgas/layout/cfx_txtbreak.cpp
+++ b/xfa/fgas/layout/cfx_txtbreak.cpp
@@ -983,7 +983,6 @@ std::vector<CFX_RectF> CFX_TxtBreak::GetCharRects(const FX_TXTRUN* pTxtRun,
FX_TXTRUN::FX_TXTRUN()
: pEdtEngine(nullptr),
- pIdentity(nullptr),
pWidths(nullptr),
iLength(0),
pFont(nullptr),
diff --git a/xfa/fgas/layout/cfx_txtbreak.h b/xfa/fgas/layout/cfx_txtbreak.h
index e6f8da03d2..b43fda0e2f 100644
--- a/xfa/fgas/layout/cfx_txtbreak.h
+++ b/xfa/fgas/layout/cfx_txtbreak.h
@@ -40,7 +40,6 @@ struct FX_TXTRUN {
~FX_TXTRUN();
CFDE_TextEditEngine* pEdtEngine;
- const FDE_TEXTEDITPIECE* pIdentity;
WideString wsStr;
int32_t* pWidths;
int32_t iLength;