summaryrefslogtreecommitdiff
path: root/xfa/fwl/cfwl_monthcalendar.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-01-03 15:04:58 -0500
committerChromium commit bot <commit-bot@chromium.org>2017-01-03 21:08:27 +0000
commite8f6897c2a80242217da785318b427c82c00ad40 (patch)
treee0dab8ba59060e82c3eaef0fff85c2eb1ccdb505 /xfa/fwl/cfwl_monthcalendar.h
parent5e3b976529f18deb389ed608da88b895eb115d72 (diff)
downloadpdfium-e8f6897c2a80242217da785318b427c82c00ad40.tar.xz
Convert CFWL_MonthCalendar to use return values
This CL updates CFWL_MonthCalendar to return values instead of taking an out parameter. Change-Id: I347d0e85897be1359bad7971d82c70dfad0d69a0 Reviewed-on: https://pdfium-review.googlesource.com/2132 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fwl/cfwl_monthcalendar.h')
-rw-r--r--xfa/fwl/cfwl_monthcalendar.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/xfa/fwl/cfwl_monthcalendar.h b/xfa/fwl/cfwl_monthcalendar.h
index b85dd29030..979f53b136 100644
--- a/xfa/fwl/cfwl_monthcalendar.h
+++ b/xfa/fwl/cfwl_monthcalendar.h
@@ -140,13 +140,10 @@ class CFWL_MonthCalendar : public CFWL_Widget {
void RemoveSelDay();
void AddSelDay(int32_t iDay);
void JumpToToday();
- void GetHeadText(int32_t iYear, int32_t iMonth, CFX_WideString& wsHead);
- void GetTodayText(int32_t iYear,
- int32_t iMonth,
- int32_t iDay,
- CFX_WideString& wsToday);
+ CFX_WideString GetHeadText(int32_t iYear, int32_t iMonth);
+ CFX_WideString GetTodayText(int32_t iYear, int32_t iMonth, int32_t iDay);
int32_t GetDayAtPoint(FX_FLOAT x, FX_FLOAT y);
- void GetDayRect(int32_t iDay, CFX_RectF& rtDay);
+ CFX_RectF GetDayRect(int32_t iDay);
void OnLButtonDown(CFWL_MessageMouse* pMsg);
void OnLButtonUp(CFWL_MessageMouse* pMsg);
void DisForm_OnLButtonUp(CFWL_MessageMouse* pMsg);