summaryrefslogtreecommitdiff
path: root/core/fxcrt
diff options
context:
space:
mode:
Diffstat (limited to 'core/fxcrt')
-rw-r--r--core/fxcrt/xml/cfx_xmlparser.cpp2
-rw-r--r--core/fxcrt/xml/cfx_xmlparser.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/fxcrt/xml/cfx_xmlparser.cpp b/core/fxcrt/xml/cfx_xmlparser.cpp
index d0acbc7818..da287cf9cc 100644
--- a/core/fxcrt/xml/cfx_xmlparser.cpp
+++ b/core/fxcrt/xml/cfx_xmlparser.cpp
@@ -696,7 +696,7 @@ FX_XmlSyntaxResult CFX_XMLParser::DoSyntaxParse() {
return FX_XmlSyntaxResult::Text;
}
-int32_t CFX_XMLParser::GetStatus() const {
+bool CFX_XMLParser::GetStatus() const {
if (!m_pStream)
return false;
diff --git a/core/fxcrt/xml/cfx_xmlparser.h b/core/fxcrt/xml/cfx_xmlparser.h
index f4e3c03ee7..02a6ac441f 100644
--- a/core/fxcrt/xml/cfx_xmlparser.h
+++ b/core/fxcrt/xml/cfx_xmlparser.h
@@ -94,7 +94,7 @@ class CFX_XMLParser {
void ParseTextChar(wchar_t ch);
- int32_t GetStatus() const;
+ bool GetStatus() const;
FX_FILESIZE GetCurrentPos() const { return m_ParsedChars + m_Start; }
FX_FILESIZE GetCurrentBinaryPos() const;
int32_t GetCurrentNodeNumber() const { return m_iCurrentNodeNum; }