From 610b751e894371a2933d7ba17efeee325381465d Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Mon, 24 Nov 2014 15:55:20 -0800 Subject: 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 --- fpdfsdk/src/fpdfxfa/fpdfxfa_doc.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'fpdfsdk') diff --git a/fpdfsdk/src/fpdfxfa/fpdfxfa_doc.cpp b/fpdfsdk/src/fpdfxfa/fpdfxfa_doc.cpp index b416da0abc..d8c08cc2a5 100644 --- a/fpdfsdk/src/fpdfxfa/fpdfxfa_doc.cpp +++ b/fpdfsdk/src/fpdfxfa/fpdfxfa_doc.cpp @@ -1306,9 +1306,9 @@ FX_BOOL CPDFXFA_Document::_MailToInfo(CFX_WideString& csURL, CFX_WideString& csT else srcURL = srcURL.Right(csURL.GetLength()-(pos+1)); } - csToAddress.Replace((FX_LPCWSTR)L",", (FX_LPCWSTR)L";"); - csCCAddress.Replace((FX_LPCWSTR)L",", (FX_LPCWSTR)L";"); - csBCCAddress.Replace((FX_LPCWSTR)L",", (FX_LPCWSTR)L";"); + csToAddress.Replace(L",", L";"); + csCCAddress.Replace(L",", L";"); + csBCCAddress.Replace(L",", L";"); return TRUE; } -- cgit v1.2.3