diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-01-02 17:17:02 -0500 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-01-03 19:54:37 +0000 |
commit | c8fd3318a8deca3e1eabd6f7a9449ae4a0fa964d (patch) | |
tree | a5aedd888a3981f53722b7d65ea969d246f267c8 /xfa/fwl/theme/cfwl_monthcalendartp.cpp | |
parent | db194cf018069b930d0e3d5fc0242e14f70e8620 (diff) | |
download | pdfium-c8fd3318a8deca3e1eabd6f7a9449ae4a0fa964d.tar.xz |
Cleaning out params in CPDFXFA_Context
This CL cleans up some of the out params in CPDFXFA_Context. In the process
several of the strings returned by ::LoadString() are inlined in their
call sites and the defines removed.
BUG=pdfium:549
Change-Id: I41a7ceeba3962299eecd0cb714ddb03d28dbb0ea
Reviewed-on: https://pdfium-review.googlesource.com/2134
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fwl/theme/cfwl_monthcalendartp.cpp')
-rw-r--r-- | xfa/fwl/theme/cfwl_monthcalendartp.cpp | 80 |
1 files changed, 0 insertions, 80 deletions
diff --git a/xfa/fwl/theme/cfwl_monthcalendartp.cpp b/xfa/fwl/theme/cfwl_monthcalendartp.cpp index 13fabb34e5..a76d959cca 100644 --- a/xfa/fwl/theme/cfwl_monthcalendartp.cpp +++ b/xfa/fwl/theme/cfwl_monthcalendartp.cpp @@ -248,86 +248,6 @@ void* CFWL_MonthCalendarTP::GetCapacity(CFWL_ThemePart* pThemePart, m_fValue = kHeight; break; } - case CFWL_WidgetCapacity::Sun: { - wsResource = L"Sun"; - return &wsResource; - } - case CFWL_WidgetCapacity::Mon: { - wsResource = L"Mon"; - return &wsResource; - } - case CFWL_WidgetCapacity::Tue: { - wsResource = L"Tue"; - return &wsResource; - } - case CFWL_WidgetCapacity::Wed: { - wsResource = L"Wed"; - return &wsResource; - } - case CFWL_WidgetCapacity::Thu: { - wsResource = L"Thu"; - return &wsResource; - } - case CFWL_WidgetCapacity::Fri: { - wsResource = L"Fri"; - return &wsResource; - } - case CFWL_WidgetCapacity::Sat: { - wsResource = L"Sat"; - return &wsResource; - } - case CFWL_WidgetCapacity::January: { - wsResource = L"January"; - return &wsResource; - } - case CFWL_WidgetCapacity::February: { - wsResource = L"February"; - return &wsResource; - } - case CFWL_WidgetCapacity::March: { - wsResource = L"March"; - return &wsResource; - } - case CFWL_WidgetCapacity::April: { - wsResource = L"April"; - return &wsResource; - } - case CFWL_WidgetCapacity::May: { - wsResource = L"May"; - return &wsResource; - } - case CFWL_WidgetCapacity::June: { - wsResource = L"June"; - return &wsResource; - } - case CFWL_WidgetCapacity::July: { - wsResource = L"July"; - return &wsResource; - } - case CFWL_WidgetCapacity::August: { - wsResource = L"August"; - return &wsResource; - } - case CFWL_WidgetCapacity::September: { - wsResource = L"September"; - return &wsResource; - } - case CFWL_WidgetCapacity::October: { - wsResource = L"October"; - return &wsResource; - } - case CFWL_WidgetCapacity::November: { - wsResource = L"November"; - return &wsResource; - } - case CFWL_WidgetCapacity::December: { - wsResource = L"December"; - return &wsResource; - } - case CFWL_WidgetCapacity::Today: { - wsResource = L"Today"; - return &wsResource; - } default: bDefPro = true; break; |