diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-11-21 21:54:40 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-11-21 21:54:40 +0000 |
commit | 36261b631e1847bcfdda6d381ae414c954d73e88 (patch) | |
tree | e2f6dd3eb79e04125033933adbb02ad3a5ceb83c /xfa/fxfa/cxfa_ffline.h | |
parent | 64e16079bb87085fdff5d6268267fd01eacbc5d9 (diff) | |
download | pdfium-36261b631e1847bcfdda6d381ae414c954d73e88.tar.xz |
Cleanup CXFA_LineData
Make methods const and return the correct types.
Change-Id: Icaa1c17d611a69227f67ea398e4b3cc17bc1004b
Reviewed-on: https://pdfium-review.googlesource.com/19011
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/cxfa_ffline.h')
-rw-r--r-- | xfa/fxfa/cxfa_ffline.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/xfa/fxfa/cxfa_ffline.h b/xfa/fxfa/cxfa_ffline.h index fc13096d49..7aded63c59 100644 --- a/xfa/fxfa/cxfa_ffline.h +++ b/xfa/fxfa/cxfa_ffline.h @@ -20,7 +20,9 @@ class CXFA_FFLine : public CXFA_FFDraw { uint32_t dwStatus) override; private: - void GetRectFromHand(CFX_RectF& rect, int32_t iHand, float fLineWidth); + void GetRectFromHand(CFX_RectF& rect, + XFA_ATTRIBUTEENUM iHand, + float fLineWidth); }; #endif // XFA_FXFA_CXFA_FFLINE_H_ |