summaryrefslogtreecommitdiff
path: root/core/fpdfdoc
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-10-05 15:17:35 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-10-05 19:31:47 +0000
commitc720e3f7981706898de6847604dce0ef68e1be4e (patch)
treef9bc9c85821c4b6898a6bd0f92154794b0a59556 /core/fpdfdoc
parentce813f82c914ad560e429a0685553b1e3e8797ac (diff)
downloadpdfium-c720e3f7981706898de6847604dce0ef68e1be4e.tar.xz
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 <rharrison@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fpdfdoc')
-rw-r--r--core/fpdfdoc/cpdf_variabletext.cpp1
-rw-r--r--core/fpdfdoc/cpvt_section.h1
2 files changed, 0 insertions, 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;
};