summaryrefslogtreecommitdiff
path: root/fpdfsdk
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2014-11-24 15:55:20 -0800
committerTom Sepez <tsepez@chromium.org>2014-11-24 15:55:20 -0800
commit610b751e894371a2933d7ba17efeee325381465d (patch)
tree749c9b085dd896eff5db7d56b5188de69132ba1c /fpdfsdk
parent66d6538c0a97cff550cafdfeaebe8a3f0efbad89 (diff)
downloadpdfium-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')
-rw-r--r--fpdfsdk/src/fpdfxfa/fpdfxfa_doc.cpp6
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;
}