summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_calculatedata.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/parser/cxfa_calculatedata.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/parser/cxfa_calculatedata.cpp')
-rw-r--r--xfa/fxfa/parser/cxfa_calculatedata.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/xfa/fxfa/parser/cxfa_calculatedata.cpp b/xfa/fxfa/parser/cxfa_calculatedata.cpp
index 599ffe3c8f..c839a34cef 100644
--- a/xfa/fxfa/parser/cxfa_calculatedata.cpp
+++ b/xfa/fxfa/parser/cxfa_calculatedata.cpp
@@ -7,7 +7,7 @@
#include "xfa/fxfa/parser/cxfa_calculatedata.h"
#include "xfa/fxfa/parser/cxfa_node.h"
-#include "xfa/fxfa/parser/cxfa_text.h"
+#include "xfa/fxfa/parser/cxfa_textdata.h"
CXFA_CalculateData::CXFA_CalculateData(CXFA_Node* pNode) : CXFA_Data(pNode) {}
@@ -26,7 +26,7 @@ void CXFA_CalculateData::GetMessageText(WideString& wsMessage) {
if (!pNode)
return;
- CXFA_Text text(pNode->GetChild(0, XFA_Element::Text, false));
- if (text)
- text.GetContent(wsMessage);
+ CXFA_TextData textData(pNode->GetChild(0, XFA_Element::Text, false));
+ if (textData)
+ textData.GetContent(wsMessage);
}