summaryrefslogtreecommitdiff
path: root/core/fpdfdoc/cpdf_variabletext.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-10-05 15:12:58 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-10-05 19:31:08 +0000
commitce813f82c914ad560e429a0685553b1e3e8797ac (patch)
tree7410dfd203edbaeca8989566143ac166a6fb5ce0 /core/fpdfdoc/cpdf_variabletext.h
parent480ca10f7a20dd65921dcec046d91b503f3599c3 (diff)
downloadpdfium-ce813f82c914ad560e429a0685553b1e3e8797ac.tar.xz
Remove CPVT_WordProps
Only one of the props was being used and that prop always had the same value. This CL removes CPVT_WordProps. Change-Id: I8cf64f0e9b80c5af18b8fc40ef7b602ffeec7f93 Reviewed-on: https://pdfium-review.googlesource.com/15672 Reviewed-by: Ryan Harrison <rharrison@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fpdfdoc/cpdf_variabletext.h')
-rw-r--r--core/fpdfdoc/cpdf_variabletext.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/core/fpdfdoc/cpdf_variabletext.h b/core/fpdfdoc/cpdf_variabletext.h
index f714102223..ee68f023fa 100644
--- a/core/fpdfdoc/cpdf_variabletext.h
+++ b/core/fpdfdoc/cpdf_variabletext.h
@@ -27,7 +27,6 @@ struct CPVT_Section;
struct CPVT_SectionInfo;
struct CPVT_WordInfo;
-struct CPVT_WordProps;
#define VARIABLETEXT_HALF 0.5f
@@ -46,11 +45,9 @@ class CPDF_VariableText {
bool PrevLine();
bool NextSection();
bool PrevSection();
- bool SetWord(const CPVT_Word& word);
bool GetWord(CPVT_Word& word) const;
bool GetLine(CPVT_Line& line) const;
bool GetSection(CPVT_Section& section) const;
- bool SetSection(const CPVT_Section& section);
void SetAt(int32_t nWordIndex);
void SetAt(const CPVT_WordPlace& place);
const CPVT_WordPlace& GetAt() const { return m_CurPos; }