summaryrefslogtreecommitdiff
path: root/fpdfsdk/src/pdfwindow/PWL_Note.cpp
diff options
context:
space:
mode:
authorBo Xu <bo_xu@foxitsoftware.com>2014-11-14 17:03:50 -0800
committerBo Xu <bo_xu@foxitsoftware.com>2014-11-14 17:03:50 -0800
commit893fe94f069656ef5106db1aec32ec11b85f4de2 (patch)
treea0dba049ed478fd775976b8429308fb83a6ddda7 /fpdfsdk/src/pdfwindow/PWL_Note.cpp
parentd66fda28dc2159ffc68c312764172382825c4d10 (diff)
downloadpdfium-893fe94f069656ef5106db1aec32ec11b85f4de2.tar.xz
Remove FX_LPCWSTR cast to wchar_t* literals
BUG=https://code.google.com/p/pdfium/issues/detail?id=78 R=tsepez@chromium.org Review URL: https://codereview.chromium.org/726143002
Diffstat (limited to 'fpdfsdk/src/pdfwindow/PWL_Note.cpp')
-rw-r--r--fpdfsdk/src/pdfwindow/PWL_Note.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/src/pdfwindow/PWL_Note.cpp b/fpdfsdk/src/pdfwindow/PWL_Note.cpp
index b0028b6c66..7bc8fad395 100644
--- a/fpdfsdk/src/pdfwindow/PWL_Note.cpp
+++ b/fpdfsdk/src/pdfwindow/PWL_Note.cpp
@@ -865,7 +865,7 @@ void CPWL_NoteItem::SetDateTime(FX_SYSTEMTIME time)
m_dtNote = time;
CFX_WideString swTime;
- swTime.Format((FX_LPCWSTR)L"%04d-%02d-%02d %02d:%02d:%02d", time.wYear, time.wMonth, time.wDay, time.wHour, time.wMinute, time.wSecond);
+ swTime.Format(L"%04d-%02d-%02d %02d:%02d:%02d", time.wYear, time.wMonth, time.wDay, time.wHour, time.wMinute, time.wSecond);
if (m_pDateTime)
{
m_pDateTime->SetText(swTime);