summaryrefslogtreecommitdiff
path: root/core/fxcrt/xml/cfx_xmltext.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/fxcrt/xml/cfx_xmltext.h')
-rw-r--r--core/fxcrt/xml/cfx_xmltext.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/fxcrt/xml/cfx_xmltext.h b/core/fxcrt/xml/cfx_xmltext.h
index 3e15c5ce9a..f2c7c88d72 100644
--- a/core/fxcrt/xml/cfx_xmltext.h
+++ b/core/fxcrt/xml/cfx_xmltext.h
@@ -22,11 +22,11 @@ class CFX_XMLText : public CFX_XMLNode {
CFX_XMLNode* Clone(CFX_XMLDocument* doc) override;
void Save(const RetainPtr<IFX_SeekableWriteStream>& pXMLStream) override;
- WideString GetText() const { return m_wsText; }
- void SetText(const WideString& wsText) { m_wsText = wsText; }
+ const WideString& GetText() const { return text_; }
+ void SetText(const WideString& wsText) { text_ = wsText; }
private:
- WideString m_wsText;
+ WideString text_;
};
inline bool IsXMLText(const CFX_XMLNode* pNode) {