From c720e3f7981706898de6847604dce0ef68e1be4e Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Thu, 5 Oct 2017 15:17:35 -0400 Subject: Remove CPVT_WordPlace from CPVT_Section Parameter was set but never used. Removed. Change-Id: I4bbda0ef7a94e156092e7ac10ae6b9a6fd6713e7 Reviewed-on: https://pdfium-review.googlesource.com/15673 Reviewed-by: Ryan Harrison Commit-Queue: dsinclair --- core/fpdfdoc/cpdf_variabletext.cpp | 1 - core/fpdfdoc/cpvt_section.h | 1 - 2 files changed, 2 deletions(-) diff --git a/core/fpdfdoc/cpdf_variabletext.cpp b/core/fpdfdoc/cpdf_variabletext.cpp index 8e5a74e171..d702f52ba4 100644 --- a/core/fpdfdoc/cpdf_variabletext.cpp +++ b/core/fpdfdoc/cpdf_variabletext.cpp @@ -215,7 +215,6 @@ bool CPDF_VariableText::Iterator::GetLine(CPVT_Line& line) const { } bool CPDF_VariableText::Iterator::GetSection(CPVT_Section& section) const { - section.secplace = CPVT_WordPlace(m_CurPos.nSecIndex, 0, -1); if (!pdfium::IndexInBounds(m_pVT->m_SectionArray, m_CurPos.nSecIndex)) return false; diff --git a/core/fpdfdoc/cpvt_section.h b/core/fpdfdoc/cpvt_section.h index 6b2ae075bf..2a89034c35 100644 --- a/core/fpdfdoc/cpvt_section.h +++ b/core/fpdfdoc/cpvt_section.h @@ -11,7 +11,6 @@ #include "core/fxcrt/fx_coordinates.h" struct CPVT_Section { - CPVT_WordPlace secplace; CFX_FloatRect rcSection; }; -- cgit v1.2.3