diff options
author | Tom Sepez <tsepez@chromium.org> | 2014-11-24 15:55:20 -0800 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2014-11-24 15:55:20 -0800 |
commit | 610b751e894371a2933d7ba17efeee325381465d (patch) | |
tree | 749c9b085dd896eff5db7d56b5188de69132ba1c /xfa/src/fwl | |
parent | 66d6538c0a97cff550cafdfeaebe8a3f0efbad89 (diff) | |
download | pdfium-610b751e894371a2933d7ba17efeee325381465d.tar.xz |
Mass remove dangerous and needless LPCWSTR casts.
One table is also reformatted to put one entry per line for readability.
R=bo_xu@foxitsoftware.com
Review URL: https://codereview.chromium.org/749273003
Diffstat (limited to 'xfa/src/fwl')
-rw-r--r-- | xfa/src/fwl/src/basewidget/fwl_monthcalendarimp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/src/fwl/src/basewidget/fwl_monthcalendarimp.cpp b/xfa/src/fwl/src/basewidget/fwl_monthcalendarimp.cpp index fa8deb8d41..39085d6e85 100644 --- a/xfa/src/fwl/src/basewidget/fwl_monthcalendarimp.cpp +++ b/xfa/src/fwl/src/basewidget/fwl_monthcalendarimp.cpp @@ -544,7 +544,7 @@ CFX_SizeF CFWL_MonthCalendarImp::CalcSize(FX_BOOL bAutoSize) FX_FLOAT fDayMaxH = 0.0f;
for (int day = 10; day <= 31; day++) {
CFX_WideString wsDay;
- wsDay.Format((FX_LPCWSTR)L"%d", day);
+ wsDay.Format(L"%d", day);
CFX_SizeF sz = CalcTextSize(wsDay, m_pProperties->m_pThemeProvider);
fDayMaxW = (fDayMaxW >= sz.x) ? fDayMaxW : sz.x;
fDayMaxH = (fDayMaxH >= sz.y) ? fDayMaxH : sz.y;
|