diff options
author | Tom Sepez <tsepez@chromium.org> | 2016-03-21 15:00:20 -0700 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2016-03-21 15:00:20 -0700 |
commit | 62a70f90c49cf7714c960186eb063ad55333e6f3 (patch) | |
tree | 84b5d0f70b770e6a9ec261342d46638f4d5102bd /fpdfsdk/include/fxedit/fxet_list.h | |
parent | 4161c5ca6c5438476bf07b6dacfafb61ea611cc5 (diff) | |
download | pdfium-62a70f90c49cf7714c960186eb063ad55333e6f3.tar.xz |
Remove FX_WORD in favor of uint16_t.
It isn't buying us anthing, and it looks strange in
a struct when other uint types are already present.
R=dsinclair@chromium.org
Review URL: https://codereview.chromium.org/1821043003 .
Diffstat (limited to 'fpdfsdk/include/fxedit/fxet_list.h')
-rw-r--r-- | fpdfsdk/include/fxedit/fxet_list.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fpdfsdk/include/fxedit/fxet_list.h b/fpdfsdk/include/fxedit/fxet_list.h index 05ba4f9e23..d86e6ffeee 100644 --- a/fpdfsdk/include/fxedit/fxet_list.h +++ b/fpdfsdk/include/fxedit/fxet_list.h @@ -134,7 +134,7 @@ class CFX_ListItem { FX_BOOL IsSelected() const; FX_BOOL IsCaret() const; FX_FLOAT GetItemHeight() const; - FX_WORD GetFirstChar() const; + uint16_t GetFirstChar() const; private: IFX_Edit* m_pEdit; @@ -296,7 +296,7 @@ class CFX_ListCtrl : public CFX_List { void OnVK_HOME(FX_BOOL bShift, FX_BOOL bCtrl) override; void OnVK_END(FX_BOOL bShift, FX_BOOL bCtrl) override; void OnVK(int32_t nItemIndex, FX_BOOL bShift, FX_BOOL bCtrl) override; - FX_BOOL OnChar(FX_WORD nChar, FX_BOOL bShift, FX_BOOL bCtrl) override; + FX_BOOL OnChar(uint16_t nChar, FX_BOOL bShift, FX_BOOL bCtrl) override; void SetPlateRect(const CFX_FloatRect& rect) override; void SetScrollPos(const CFX_FloatPoint& point) override; void ScrollToListItem(int32_t nItemIndex) override; |