diff options
Diffstat (limited to 'xfa/src/fgas/src/font/fx_stdfontmgr.h')
-rw-r--r-- | xfa/src/fgas/src/font/fx_stdfontmgr.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xfa/src/fgas/src/font/fx_stdfontmgr.h b/xfa/src/fgas/src/font/fx_stdfontmgr.h index 55359de829..de0291e2ef 100644 --- a/xfa/src/fgas/src/font/fx_stdfontmgr.h +++ b/xfa/src/fgas/src/font/fx_stdfontmgr.h @@ -102,13 +102,13 @@ struct FX_FontDescriptorInfo { public: CFX_FontDescriptor* pFont; int32_t nPenalty; - FX_BOOL operator>(const FX_FontDescriptorInfo& x) { + bool operator>(const FX_FontDescriptorInfo& x) { return nPenalty > x.nPenalty; }; - FX_BOOL operator<(const FX_FontDescriptorInfo& x) { + bool operator<(const FX_FontDescriptorInfo& x) { return nPenalty < x.nPenalty; }; - FX_BOOL operator==(const FX_FontDescriptorInfo& x) { + bool operator==(const FX_FontDescriptorInfo& x) { return nPenalty == x.nPenalty; }; }; |