summaryrefslogtreecommitdiff
path: root/xfa/fde/xml/cfx_saxreader.h
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-11-02 15:43:18 -0700
committerCommit bot <commit-bot@chromium.org>2016-11-02 15:43:19 -0700
commitd19e912dd469e4bdad9f3020e1f6eb98f10f3470 (patch)
tree239cb568a80445f14a1ab9b63dcaaddcce67e1cc /xfa/fde/xml/cfx_saxreader.h
parent12f3e4a58f05850b93af35619cb04f0231d86acc (diff)
downloadpdfium-d19e912dd469e4bdad9f3020e1f6eb98f10f3470.tar.xz
Remove FX_BOOL from xfa.
Review-Url: https://codereview.chromium.org/2467203003
Diffstat (limited to 'xfa/fde/xml/cfx_saxreader.h')
-rw-r--r--xfa/fde/xml/cfx_saxreader.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/xfa/fde/xml/cfx_saxreader.h b/xfa/fde/xml/cfx_saxreader.h
index 10ba69f1f5..667813cf76 100644
--- a/xfa/fde/xml/cfx_saxreader.h
+++ b/xfa/fde/xml/cfx_saxreader.h
@@ -27,21 +27,21 @@ class CFX_SAXItem {
};
explicit CFX_SAXItem(uint32_t id)
- : m_pNode(nullptr), m_eNode(Type::Unknown), m_dwID(id), m_bSkip(FALSE) {}
+ : m_pNode(nullptr), m_eNode(Type::Unknown), m_dwID(id), m_bSkip(false) {}
CXFA_SAXContext* m_pNode;
Type m_eNode;
const uint32_t m_dwID;
- FX_BOOL m_bSkip;
+ bool m_bSkip;
};
class CFX_SAXFile {
public:
CFX_SAXFile();
- FX_BOOL StartFile(IFX_SeekableReadStream* pFile,
- uint32_t dwStart,
- uint32_t dwLen);
- FX_BOOL ReadNextBlock();
+ bool StartFile(IFX_SeekableReadStream* pFile,
+ uint32_t dwStart,
+ uint32_t dwLen);
+ bool ReadNextBlock();
void Reset();
IFX_SeekableReadStream* m_pFile;
uint32_t m_dwStart;
@@ -102,7 +102,7 @@ class CFX_SAXReader {
void Push();
void Pop();
CFX_SAXItem* GetCurrentItem() const;
- FX_BOOL SkipSpace(uint8_t ch);
+ bool SkipSpace(uint8_t ch);
void SkipNode();
void NotifyData();
void NotifyEnter();
@@ -122,7 +122,7 @@ class CFX_SAXReader {
uint32_t m_dwItemID;
CFX_SaxMode m_eMode;
CFX_SaxMode m_ePrevMode;
- FX_BOOL m_bCharData;
+ bool m_bCharData;
uint8_t m_CurByte;
uint32_t m_dwDataOffset;
CFX_ByteArray m_SkipStack;