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

Unified Diff: src/plugin/PluginSettings.cpp

Issue 5491870822039552: Issue #1234 - Remove old versions of ToWstring and ToCString (Closed)
Patch Set: Created Jan. 13, 2015, 3:35 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/PluginWbPassThrough.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
@@ -20,7 +20,7 @@
{
std::wstring CreateDomainWhitelistingFilter(const CString& domain)
{
- return L"@@||" + to_wstring(domain) + L"^$document";
+ return L"@@||" + ToWstring(domain) + L"^$document";
}
}
@@ -265,7 +265,7 @@
CString CPluginSettings::GetAppLocale()
{
- return to_CString(GetBrowserLanguage());
+ return ToCString(GetBrowserLanguage());
}
CString CPluginSettings::GetDocumentationLink()
« no previous file with comments | « src/plugin/PluginFilter.cpp ('k') | src/plugin/PluginWbPassThrough.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld