From cbcae9be4461b9271315038bc5a30262d26626c1 Mon Sep 17 00:00:00 2001 From: Nicolas Pena Date: Wed, 3 Jan 2018 15:43:25 -0500 Subject: Remove unused methods from CPDF_VariableText MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Id8012a5769df68d29da5c58cc821c71ca93240e1 Reviewed-on: https://pdfium-review.googlesource.com/22111 Reviewed-by: dsinclair Commit-Queue: Nicolás Peña Moreno --- core/fpdfdoc/cpdf_variabletext.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'core/fpdfdoc/cpdf_variabletext.h') diff --git a/core/fpdfdoc/cpdf_variabletext.h b/core/fpdfdoc/cpdf_variabletext.h index bdc95d47f9..a37aa871d5 100644 --- a/core/fpdfdoc/cpdf_variabletext.h +++ b/core/fpdfdoc/cpdf_variabletext.h @@ -29,7 +29,6 @@ struct CPVT_WordInfo; class CPDF_VariableText { public: - enum class ScriptType { Normal, Super, Sub }; class Iterator { public: @@ -43,7 +42,7 @@ class CPDF_VariableText { bool GetLine(CPVT_Line& line) const; void SetAt(int32_t nWordIndex); void SetAt(const CPVT_WordPlace& place); - const CPVT_WordPlace& GetAt() const { return m_CurPos; } + const CPVT_WordPlace& GetWordPlace() const { return m_CurPos; } private: CPVT_WordPlace m_CurPos; @@ -94,13 +93,11 @@ class CPDF_VariableText { void RearrangeAll(); void RearrangePart(const CPVT_WordRange& PlaceRange); - void ResetAll(); void SetText(const WideString& text); CPVT_WordPlace InsertWord(const CPVT_WordPlace& place, uint16_t word, int32_t charset); CPVT_WordPlace InsertSection(const CPVT_WordPlace& place); - CPVT_WordPlace InsertText(const CPVT_WordPlace& place, const wchar_t* text); CPVT_WordPlace DeleteWords(const CPVT_WordRange& PlaceRange); CPVT_WordPlace DeleteWord(const CPVT_WordPlace& place); CPVT_WordPlace BackSpaceWord(const CPVT_WordPlace& place); @@ -139,7 +136,6 @@ class CPDF_VariableText { float GetPlateWidth() const { return m_rcPlate.right - m_rcPlate.left; } float GetPlateHeight() const { return m_rcPlate.top - m_rcPlate.bottom; } - CFX_SizeF GetPlateSize() const; CFX_PointF GetBTPoint() const; CFX_PointF GetETPoint() const; -- cgit v1.2.3