diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2018-04-12 13:53:18 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-04-12 13:53:18 +0000 |
commit | babeeb69b1744e414b46d77de03689682742d99d (patch) | |
tree | 27296c83ac37c8a8691ecf7c097c49fbedd9791b /core/fxcrt/xml/cfx_xmlparser.h | |
parent | e7d5c7f48ead8f5554105da9637fd9de1c093d67 (diff) | |
download | pdfium-babeeb69b1744e414b46d77de03689682742d99d.tar.xz |
Fixup CFX_XMLParser::GetStatus return
This CL fixes the return type of CFX_XMLParser::GetStatus to correctly
return bool instead of int32_t.
Change-Id: Ifa0d24b8aad55c4cf63ddf7cfc8eee48bf8431bf
Reviewed-on: https://pdfium-review.googlesource.com/30290
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fxcrt/xml/cfx_xmlparser.h')
-rw-r--r-- | core/fxcrt/xml/cfx_xmlparser.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |