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

Unified Diff: src/plugin/PluginUtil.cpp

Issue 29332057: Issue #1234 - Replace CString in the traverser (Closed)
Patch Set: documentUrl arguments Created Dec. 14, 2015, 1:25 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
« no previous file with comments | « src/plugin/PluginUtil.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/plugin/PluginUtil.cpp
===================================================================
--- a/src/plugin/PluginUtil.cpp
+++ b/src/plugin/PluginUtil.cpp
@@ -52,3 +52,9 @@
}
return std::wstring(locationUrl, locationUrl.Length());
}
+
+std::wstring ToLowerString(const std::wstring& s)
+{
+ return ToWstring(ToCString(s).MakeLower());
+}
+
« no previous file with comments | « src/plugin/PluginUtil.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld