diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-12-14 20:14:54 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-12-14 20:14:54 +0000 |
commit | 2eeb42b74b1d29b3cf7fb7344530137debb680dd (patch) | |
tree | b7eefd640caca6ba4556208d210ed51a01d4d522 /xfa/fxfa/cxfa_widgetacc.cpp | |
parent | 0821c95ee9f132f77f3670a7dbbf114a82a6b9a0 (diff) | |
download | pdfium-2eeb42b74b1d29b3cf7fb7344530137debb680dd.tar.xz |
Fold CXFA_TextData into CXFA_Text
This CL folds the CXFA_TextData back into CXFA_Text. CXFA_TextData is a
thin wrapper around the CXFA_Text object.
Change-Id: I4edc37f2ac66fc9b662942d3351fce6b697f27c7
Reviewed-on: https://pdfium-review.googlesource.com/21172
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'xfa/fxfa/cxfa_widgetacc.cpp')
-rw-r--r-- | xfa/fxfa/cxfa_widgetacc.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xfa/fxfa/cxfa_widgetacc.cpp b/xfa/fxfa/cxfa_widgetacc.cpp index 65c4649fed..f8ea037bf3 100644 --- a/xfa/fxfa/cxfa_widgetacc.cpp +++ b/xfa/fxfa/cxfa_widgetacc.cpp @@ -502,9 +502,9 @@ WideString CXFA_WidgetAcc::GetValidateCaptionName(bool bVersionFlag) { if (captionData.HasValidNode()) { CXFA_Value* capValue = captionData.GetValue(); if (capValue) { - CXFA_TextData captionTextData = capValue->GetTextData(); - if (captionTextData.HasValidNode()) - wsCaptionName = captionTextData.GetContent(); + CXFA_Text* captionText = capValue->GetText(); + if (captionText) + wsCaptionName = captionText->GetContent(); } } } |