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

Unified Diff: src/plugin/PluginSettings.cpp

Issue 5109791353470976: Issue #1234 - standardize some string conversions (Closed)
Patch Set: Created Aug. 6, 2014, 8:19 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/PluginFilter.cpp ('k') | src/plugin/PluginTabBase.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/plugin/PluginSettings.cpp
===================================================================
--- a/src/plugin/PluginSettings.cpp
+++ b/src/plugin/PluginSettings.cpp
@@ -18,9 +18,9 @@
namespace
{
- std::wstring CreateDomainWhitelistingFilter(const CString domain)
+ std::wstring CreateDomainWhitelistingFilter(const CString& domain)
{
- return std::wstring(L"@@||") + domain.GetString() + std::wstring(L"^$document");
+ return L"@@||" + to_wstring(domain) + L"^$document";
}
}
« no previous file with comments | « src/plugin/PluginFilter.cpp ('k') | src/plugin/PluginTabBase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld