Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1285)

Unified Diff: xfa/fde/cfx_wordbreak.h

Issue 2467203003: Remove FX_BOOL from xfa. (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « xfa/fde/cfx_chariter.cpp ('k') | xfa/fde/cfx_wordbreak.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/fde/cfx_wordbreak.h
diff --git a/xfa/fde/cfx_wordbreak.h b/xfa/fde/cfx_wordbreak.h
index 14cf7304cd0daeb3b80a8ed48843f3ede43b403f..9df6eda1f590de3c2e6ccccbf1a176517f035169 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;
« no previous file with comments | « xfa/fde/cfx_chariter.cpp ('k') | xfa/fde/cfx_wordbreak.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698