diff options
author | tsepez <tsepez@chromium.org> | 2016-11-02 15:43:18 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-11-02 15:43:19 -0700 |
commit | d19e912dd469e4bdad9f3020e1f6eb98f10f3470 (patch) | |
tree | 239cb568a80445f14a1ab9b63dcaaddcce67e1cc /xfa/fde/cfx_wordbreak.h | |
parent | 12f3e4a58f05850b93af35619cb04f0231d86acc (diff) | |
download | pdfium-d19e912dd469e4bdad9f3020e1f6eb98f10f3470.tar.xz |
Remove FX_BOOL from xfa.
Review-Url: https://codereview.chromium.org/2467203003
Diffstat (limited to 'xfa/fde/cfx_wordbreak.h')
-rw-r--r-- | xfa/fde/cfx_wordbreak.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/xfa/fde/cfx_wordbreak.h b/xfa/fde/cfx_wordbreak.h index 14cf7304cd..9df6eda1f5 100644 --- a/xfa/fde/cfx_wordbreak.h +++ b/xfa/fde/cfx_wordbreak.h @@ -21,17 +21,15 @@ class CFX_WordBreak { void Attach(IFX_CharIter* pIter); void Attach(const CFX_WideString& wsText); - FX_BOOL Next(FX_BOOL bPrev); + bool Next(bool bPrev); void SetAt(int32_t nIndex); int32_t GetWordPos() const; int32_t GetWordLength() const; void GetWord(CFX_WideString& wsWord) const; - FX_BOOL IsEOF(FX_BOOL bTail) const; + bool IsEOF(bool bTail) const; protected: - FX_BOOL FindNextBreakPos(IFX_CharIter* pIter, - FX_BOOL bPrev, - FX_BOOL bFromNext = TRUE); + bool FindNextBreakPos(IFX_CharIter* pIter, bool bPrev, bool bFromNext = true); private: std::unique_ptr<IFX_CharIter> m_pPreIter; |