diff options
author | Nicolas Pena <npm@chromium.org> | 2017-11-09 22:04:17 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-11-09 22:04:17 +0000 |
commit | c7056ca0027eb34ed9abf31338c4cd2ffff40528 (patch) | |
tree | 64cefa863bfab09587fd8b1efe3dba2a3b44870e /xfa/fxfa/cxfa_ffwidget.cpp | |
parent | 309fa59a2992706924913a63e7c847bc431159bc (diff) | |
download | pdfium-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_ffwidget.cpp')
-rw-r--r-- | xfa/fxfa/cxfa_ffwidget.cpp | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/xfa/fxfa/cxfa_ffwidget.cpp b/xfa/fxfa/cxfa_ffwidget.cpp index 708c666c3d..4f5c66ef7b 100644 --- a/xfa/fxfa/cxfa_ffwidget.cpp +++ b/xfa/fxfa/cxfa_ffwidget.cpp @@ -971,16 +971,6 @@ CXFA_WidgetAcc* CXFA_FFWidget::GetDataAcc() { return m_pDataAcc.Get(); } -bool CXFA_FFWidget::GetToolTip(WideString& wsToolTip) { - CXFA_AssistData assist = m_pDataAcc->GetAssistData(); - if (assist) { - CXFA_ToolTipData toolTipData = assist.GetToolTipData(); - if (toolTipData) - return toolTipData.GetTip(wsToolTip); - } - return GetCaptionText(wsToolTip); -} - void CXFA_FFWidget::RenderWidget(CXFA_Graphics* pGS, const CFX_Matrix& matrix, uint32_t dwStatus) { @@ -1038,15 +1028,6 @@ void CXFA_FFWidget::AddInvalidateRect() { m_pDocView->AddInvalidateRect(m_pPageView, rtWidget); } -bool CXFA_FFWidget::GetCaptionText(WideString& wsCap) { - CXFA_TextLayout* pCapTextlayout = m_pDataAcc->GetCaptionTextLayout(); - if (!pCapTextlayout) { - return false; - } - pCapTextlayout->GetText(wsCap); - return true; -} - bool CXFA_FFWidget::OnMouseEnter() { return false; } |