diff options
Diffstat (limited to 'core/fpdfdoc/cpvt_wordrange.h')
-rw-r--r-- | core/fpdfdoc/cpvt_wordrange.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fpdfdoc/cpvt_wordrange.h b/core/fpdfdoc/cpvt_wordrange.h index a92613c6a7..b291e50e53 100644 --- a/core/fpdfdoc/cpvt_wordrange.h +++ b/core/fpdfdoc/cpvt_wordrange.h @@ -38,9 +38,9 @@ struct CPVT_WordRange { SwapWordPlace(); } - FX_BOOL IsExist() const { return BeginPos != EndPos; } + bool IsExist() const { return BeginPos != EndPos; } - FX_BOOL operator!=(const CPVT_WordRange& wr) const { + bool operator!=(const CPVT_WordRange& wr) const { return wr.BeginPos != BeginPos || wr.EndPos != EndPos; } |