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

Unified Diff: src/shared/Utils.cpp

Issue 5081266177179648: Issue 1104 - Cannot uncheck Disable on website option in tool bar (Closed)
Patch Set: Created Feb. 23, 2015, 12:40 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
« src/shared/Utils.h ('K') | « src/shared/Utils.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/shared/Utils.cpp
diff --git a/src/shared/Utils.cpp b/src/shared/Utils.cpp
index 7a14db81c33c4b8a426344f45549afc4b902df1f..eca70f51e9ffd47cc75fb8a10e75442845e65b8c 100644
--- a/src/shared/Utils.cpp
+++ b/src/shared/Utils.cpp
@@ -145,13 +145,4 @@ std::wstring GetAppDataPath()
::CreateDirectoryW(appDataPath.c_str(), NULL);
}
return appDataPath;
-}
-
-void ReplaceString(std::wstring& input, const std::wstring placeholder, const std::wstring replacement)
-{
- size_t replaceStart = input.find(placeholder);
- if (replaceStart != std::string::npos)
- {
- input.replace(replaceStart, placeholder.length(), replacement);
- }
-}
+}
« src/shared/Utils.h ('K') | « src/shared/Utils.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld