Use new funcs in other modules
This commit is contained in:
parent
204a752a96
commit
99e3920008
@ -10,7 +10,7 @@ namespace Utils
|
||||
if (mimeType)
|
||||
{
|
||||
std::wstring wMimeType(mimeType);
|
||||
return std::string(wMimeType.begin(), wMimeType.end());
|
||||
return String::Convert(wMimeType);
|
||||
}
|
||||
|
||||
return "application/octet-stream";
|
||||
|
@ -408,7 +408,7 @@ namespace Utils
|
||||
replace = "\\";
|
||||
}
|
||||
|
||||
while ((nPos = path.find(find)) != std::wstring::npos)
|
||||
while ((nPos = path.find(find)) != std::string::npos)
|
||||
{
|
||||
path = path.replace(nPos, find.length(), replace);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user