Removing unused WtrUtilStringToLower
authorJanusz Majnert <j.majnert@samsung.com>
Thu, 25 Oct 2012 15:51:36 +0000 (17:51 +0200)
committerGerrit Code Review <gerrit2@kim11>
Fri, 2 Nov 2012 04:51:36 +0000 (13:51 +0900)
[Issue#] N/A
[Feature] WrtUtilStringToLower is not used anywhere
[Cause] WrtUtilStringToLower is not used anywhere
[Solution] Remove the function
[Verification] Build all repositories

Change-Id: Ie1a20d347102ba2600e19e487815961c08007917

modules/utils/include/dpl/utils/wrt_utility.h
modules/utils/src/wrt_utility.cpp

index 91f08fd..fb2c920 100644 (file)
@@ -61,17 +61,6 @@ bool WrtUtilMakeDir(const std::string &newpath, mode_t mode=0755);
 bool WrtUtilRemove(const std::string &path);
 
 /**
- * This function converts a string to lowercase
- *
- * @param[in]    in   the string to be converted
- * @param[out] out  the string for placing converted values in
- *
- * The previous data stored in string out will be replaced with converted
- * string from string in
- */
-void WrtUtilStringToLower(std::string &out, const std::string &in);
-
-/**
  * Checks if path exists and is a regular file
  *
  * @param[in] path   the string representing path to check
index fbe2f8a..190740e 100644 (file)
@@ -145,14 +145,6 @@ bool WrtUtilRemove(const std::string &path)
     return rv;
 }
 
-void WrtUtilStringToLower(std::string &out, const std::string &in)
-{
-    out.clear();
-    for (std::string::const_iterator it=in.begin(); it<in.end(); ++it) {
-        out += static_cast<char>(tolower(*it));
-    }
-}
-
 bool WrtUtilFileExists(const std::string &path)
 {
     struct stat tmp;