Commit 1d600751 authored by Elen.Subbotina's avatar Elen.Subbotina Committed by Alexander Trofimov

git-svn-id:...

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@59314 954022d7-b5bf-4e40-9824-e11837661b57
parent 9b968408
......@@ -180,7 +180,7 @@ namespace FileSystem {
return files.size();
}
static CString Directory::GetFolderPath(CString strFolderPath)
CString Directory::GetFolderPath(const CString& strFolderPath)
{
int n1 = strFolderPath.rfind(_T("\\"));
if (n1 < 0 )
......@@ -188,19 +188,19 @@ namespace FileSystem {
return strFolderPath.substr(0,n1);
}
static CString Directory::GetLongPathNameW(const CString fileName)
CString Directory::GetLongPathNameW(const CString& fileName)
{
return fileName;
//todo
}
static CString GetTempPath()
CString Directory::GetTempPath()
{
CString tempPath = P_tmpdir;
return tempPath;
}
static bool Directory::PathIsDirectory(CString pathName)
bool Directory::PathIsDirectory(const CString& pathName)
{
struct stat s;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment