summaryrefslogtreecommitdiff
path: root/xfa/fxfa/cxfa_textlayout.cpp
diff options
context:
space:
mode:
authorNicolas Pena <npm@chromium.org>2017-11-09 22:04:17 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-11-09 22:04:17 +0000
commitc7056ca0027eb34ed9abf31338c4cd2ffff40528 (patch)
tree64cefa863bfab09587fd8b1efe3dba2a3b44870e /xfa/fxfa/cxfa_textlayout.cpp
parent309fa59a2992706924913a63e7c847bc431159bc (diff)
downloadpdfium-c7056ca0027eb34ed9abf31338c4cd2ffff40528.tar.xz
Remove a couple of unused methods in CXFA_FFWidget
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 <rharrison@chromium.org> Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
Diffstat (limited to 'xfa/fxfa/cxfa_textlayout.cpp')
-rw-r--r--xfa/fxfa/cxfa_textlayout.cpp8
1 files changed, 0 insertions, 8 deletions
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;