From 43a25e87afb9b91fd7c0cae2a3429da104d58988 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Tue, 27 Mar 2018 19:35:44 +0000 Subject: Remove unused FX_TXTRUN::pIdentity Unused, removed. Change-Id: I0c7e65224777932e38ca93d81709c8321aecb1c5 Reviewed-on: https://pdfium-review.googlesource.com/29290 Reviewed-by: Henrique Nakashima Commit-Queue: dsinclair --- xfa/fde/cfde_texteditengine.cpp | 2 -- xfa/fgas/layout/cfx_txtbreak.cpp | 1 - xfa/fgas/layout/cfx_txtbreak.h | 1 - 3 files changed, 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 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 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_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; -- cgit v1.2.3