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 /fpdfsdk/src/fpdfxfa | |
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 'fpdfsdk/src/fpdfxfa')
-rw-r--r-- | fpdfsdk/src/fpdfxfa/fpdfxfa_doc.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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;
}
|