summaryrefslogtreecommitdiff
path: root/xfa/fxfa/cxfa_widgetacc.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-11-07 21:35:30 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-11-07 21:35:30 +0000
commitd4a4b038d694681b2eaadef9ad6c5e316c67f2e1 (patch)
treea34a733842415ca9a722c8d7901533238f3e0bd4 /xfa/fxfa/cxfa_widgetacc.cpp
parentb8656256af8855c652415095438d5c932790a2b2 (diff)
downloadpdfium-d4a4b038d694681b2eaadef9ad6c5e316c67f2e1.tar.xz
Rename CXFA_Text to CXFA_TextData
This CL renames CXFA_Text to CXFA_TextData to show it is part of the data hierarchy. Change-Id: If60e480d0590a72b71e06c46aaef831a07f085da Reviewed-on: https://pdfium-review.googlesource.com/18015 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'xfa/fxfa/cxfa_widgetacc.cpp')
-rw-r--r--xfa/fxfa/cxfa_widgetacc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fxfa/cxfa_widgetacc.cpp b/xfa/fxfa/cxfa_widgetacc.cpp
index 04733934a8..e9ccaaa218 100644
--- a/xfa/fxfa/cxfa_widgetacc.cpp
+++ b/xfa/fxfa/cxfa_widgetacc.cpp
@@ -505,8 +505,8 @@ WideString CXFA_WidgetAcc::GetValidateCaptionName(bool bVersionFlag) {
if (!bVersionFlag) {
if (CXFA_CaptionData captionData = GetCaptionData()) {
if (CXFA_Value capValue = captionData.GetValue()) {
- if (CXFA_Text capText = capValue.GetText())
- capText.GetContent(wsCaptionName);
+ if (CXFA_TextData captionTextData = capValue.GetTextData())
+ captionTextData.GetContent(wsCaptionName);
}
}
}