summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_textdata.cpp
diff options
context:
space:
mode:
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);
}