{
String sViewName(s);
size_t nOffset = sViewName.find(_T("@@"));
- if (nOffset != std::string::npos)
+ if (nOffset != String::npos)
{
sViewName.erase(nOffset);
SplitFilename(sViewName.c_str(), path, name, ext);
sCmdLine.erase(clpos, clpos - sCmdLine.length());
std::string::size_type pos = sCmdLine.find(_T(" "));
- if (pos != std::string.npos)
+ if (pos != String::npos)
{
// First space was before switch, we don't need "s
// (executable path didn't contain spaces)
prevPos = pos;
pos = sCmdLine.find(_T(" "), prevPos + 1);
- if (pos != std::string.npos)
+ if (pos != String::npos)
{
if (sCmdLine[pos + 1] == '/' || sCmdLine[pos + 1] == '-')
{
if (addQuote)
{
- if (pos != std::string.npos)
+ if (pos != String::npos)
{
sExecutable = sCmdLine.substr(0, pos);
sDecoratedCmdLine += sExecutable;