summaryrefslogtreecommitdiff
path: root/xfa
diff options
context:
space:
mode:
Diffstat (limited to 'xfa')
-rw-r--r--xfa/fxfa/parser/cxfa_textdata.cpp2
-rw-r--r--xfa/fxfa/parser/cxfa_textdata.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fxfa/parser/cxfa_textdata.cpp b/xfa/fxfa/parser/cxfa_textdata.cpp
index adecd9c831..a042853c6e 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) {}
-WideString CXFA_TextData::GetContent() {
+WideString CXFA_TextData::GetContent() const {
return m_pNode->JSNode()->GetContent(false);
}
diff --git a/xfa/fxfa/parser/cxfa_textdata.h b/xfa/fxfa/parser/cxfa_textdata.h
index 79ab48e41f..4a28a88d59 100644
--- a/xfa/fxfa/parser/cxfa_textdata.h
+++ b/xfa/fxfa/parser/cxfa_textdata.h
@@ -16,7 +16,7 @@ class CXFA_TextData : public CXFA_DataData {
public:
explicit CXFA_TextData(CXFA_Node* pNode);
- WideString GetContent();
+ WideString GetContent() const;
};
#endif // XFA_FXFA_PARSER_CXFA_TEXTDATA_H_