summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_textdata.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-11-20 21:17:43 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-11-20 21:17:43 +0000
commit89453e92d5d0b7aaf9e0c3890a90a21adc94a0ce (patch)
tree6a140e4f2b67474127dd9c9b7d2a008c9832306d /xfa/fxfa/parser/cxfa_textdata.cpp
parent1699413c207c228ae7eae3d47e89adacc1146d65 (diff)
downloadpdfium-89453e92d5d0b7aaf9e0c3890a90a21adc94a0ce.tar.xz
Convert CXFA_CalculateData::GetMessageText to return WideString
Change-Id: I2ae79c6e77fe2717519156af15cd6cbdd19b58f1 Reviewed-on: https://pdfium-review.googlesource.com/18813 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser/cxfa_textdata.cpp')
-rw-r--r--xfa/fxfa/parser/cxfa_textdata.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fxfa/parser/cxfa_textdata.cpp b/xfa/fxfa/parser/cxfa_textdata.cpp
index 9fdc3006a8..adecd9c831 100644
--- a/xfa/fxfa/parser/cxfa_textdata.cpp
+++ b/xfa/fxfa/parser/cxfa_textdata.cpp
@@ -10,6 +10,6 @@
CXFA_TextData::CXFA_TextData(CXFA_Node* pNode) : CXFA_DataData(pNode) {}
-void CXFA_TextData::GetContent(WideString& wsText) {
- wsText = m_pNode->JSNode()->GetContent(false);
+WideString CXFA_TextData::GetContent() {
+ return m_pNode->JSNode()->GetContent(false);
}