Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: src/plugin/PluginClientBase.cpp

Issue 4912420225024000: Issue #1234 - Convert strings associated with URL's (Closed)
Patch Set: Created Jan. 5, 2015, 4:15 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/plugin/PluginClientBase.cpp
===================================================================
--- a/src/plugin/PluginClientBase.cpp
+++ b/src/plugin/PluginClientBase.cpp
@@ -39,24 +39,6 @@
{
}
-
-CString& CPluginClientBase::UnescapeUrl(CString& url)
-{
- CString unescapedUrl;
- DWORD cb = 2048;
-
- if (SUCCEEDED(::UrlUnescape(url.GetBuffer(), unescapedUrl.GetBufferSetLength(cb), &cb, 0)))
- {
- unescapedUrl.ReleaseBuffer();
- unescapedUrl.Truncate(cb);
-
- url.ReleaseBuffer();
- url = unescapedUrl;
- }
-
- return url;
-}
-
void UnescapeUrl(std::wstring& url)
{
try

Powered by Google App Engine
This is Rietveld