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

Unified Diff: src/plugin/PluginUtil.h

Issue 29332775: Issue #1234 - Remove 'CString' From 'ToLowerString()' (Closed)
Patch Set: Created Dec. 15, 2015, 9:10 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 | « no previous file | src/plugin/PluginUtil.cpp » ('j') | src/plugin/PluginUtil.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/plugin/PluginUtil.h
===================================================================
--- a/src/plugin/PluginUtil.h
+++ b/src/plugin/PluginUtil.h
@@ -33,6 +33,7 @@
/**
* Return a lower-case version of the argument string.
- * Current version uses 'CString::MakeLower()' to preserve legacy behavior during refactoring.
+ * Collates according to the current locale.
sergei 2015/12/16 10:32:45 That seems to be correct choice. We can also creat
Eric 2015/12/16 13:53:26 For my purposes in this change set, it's the choic
+ * May not lower-case entire string if it contains embedded null characters.
sergei 2015/12/16 10:32:45 I know that it can theoretically happen, especiall
Eric 2015/12/16 13:53:26 I don't think we ever have a situation where we'll
*/
std::wstring ToLowerString(const std::wstring& s);
« no previous file with comments | « no previous file | src/plugin/PluginUtil.cpp » ('j') | src/plugin/PluginUtil.cpp » ('J')

Powered by Google App Engine
This is Rietveld