From c7056ca0027eb34ed9abf31338c4cd2ffff40528 Mon Sep 17 00:00:00 2001 From: Nicolas Pena Date: Thu, 9 Nov 2017 22:04:17 +0000 Subject: Remove a couple of unused methods in CXFA_FFWidget MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This CL removes two unused methods in CXFA_FFWidget and also the code that becomes unused after removing those. Change-Id: Ifa58a7cabc1750bb13942f86385414e8f5e0cce3 Reviewed-on: https://pdfium-review.googlesource.com/18310 Reviewed-by: Ryan Harrison Commit-Queue: Nicolás Peña Moreno --- xfa/fxfa/cxfa_textlayout.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'xfa/fxfa/cxfa_textlayout.cpp') diff --git a/xfa/fxfa/cxfa_textlayout.cpp b/xfa/fxfa/cxfa_textlayout.cpp index 331ea18798..9be3c4f5fa 100644 --- a/xfa/fxfa/cxfa_textlayout.cpp +++ b/xfa/fxfa/cxfa_textlayout.cpp @@ -240,14 +240,6 @@ void CXFA_TextLayout::InitBreak(CFX_CSSComputedStyle* pStyle, m_pBreak->SetCharSpace(pStyle->GetLetterSpacing().GetValue()); } -int32_t CXFA_TextLayout::GetText(WideString& wsText) { - GetTextDataNode(); - wsText.clear(); - if (!m_bRichText) - wsText = m_pTextDataNode->JSNode()->GetContent(false); - return wsText.GetLength(); -} - float CXFA_TextLayout::GetLayoutHeight() { if (!m_pLoader) return 0; -- cgit v1.2.3