summaryrefslogtreecommitdiff
path: root/xfa/fxfa/cxfa_ffwidget.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-11-07 18:32:50 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-11-07 18:32:50 +0000
commitbb535b45f86f4f9fc470312b048159f0096d3eaa (patch)
treea8cb4cbc5c46b360848c03322af8263abd9788b2 /xfa/fxfa/cxfa_ffwidget.cpp
parent0dbaa90e9f6777c5d2203cd18dc565670d6271c0 (diff)
downloadpdfium-bb535b45f86f4f9fc470312b048159f0096d3eaa.tar.xz
Rename CXFA_Assist to CXFA_AssistData
This CL renames CXFA_Assist to CXFA_AssistData to make it clear it's part of the data hierarchy. Change-Id: I1d320a0f09dd3536251fd308c71b78db5c4ed644 Reviewed-on: https://pdfium-review.googlesource.com/17971 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/cxfa_ffwidget.cpp')
-rw-r--r--xfa/fxfa/cxfa_ffwidget.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/xfa/fxfa/cxfa_ffwidget.cpp b/xfa/fxfa/cxfa_ffwidget.cpp
index 6971d03df0..5cfa836aed 100644
--- a/xfa/fxfa/cxfa_ffwidget.cpp
+++ b/xfa/fxfa/cxfa_ffwidget.cpp
@@ -978,10 +978,11 @@ CXFA_WidgetAcc* CXFA_FFWidget::GetDataAcc() {
}
bool CXFA_FFWidget::GetToolTip(WideString& wsToolTip) {
- if (CXFA_Assist assist = m_pDataAcc->GetAssist()) {
- if (CXFA_ToolTip toolTip = assist.GetToolTip()) {
+ CXFA_AssistData assist = m_pDataAcc->GetAssistData();
+ if (assist) {
+ CXFA_ToolTip toolTip = assist.GetToolTip();
+ if (toolTip)
return toolTip.GetTip(wsToolTip);
- }
}
return GetCaptionText(wsToolTip);
}