Commit 509c5a41 authored by Elen.Subbotina's avatar Elen.Subbotina Committed by Alexander Trofimov

linux build

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@59094 954022d7-b5bf-4e40-9824-e11837661b57
parent 3f91a5ca
......@@ -55,7 +55,7 @@ CPPTXFile::~CPPTXFile()
HRESULT CPPTXFile::LoadFromFile(BSTR sSrcFileName, BSTR sDstPath, BSTR sXMLOptions)
{
CStringW localTempDir(sDstPath);
if((sDstPath != NULL) || (localTempDir != ""))
if((sDstPath != NULL) || (localTempDir != _T("")))
{
bool res = FileSystem::Directory::CreateDirectory(localTempDir);
if (res == false) return S_FALSE;
......@@ -134,7 +134,7 @@ HRESULT CPPTXFile::get_TempDirectory(BSTR* pVal)
#ifdef WIN32
*pVal = m_strTempDir.AllocSysString();
#else
*pVal = m_strTempDir.copy();
*pVal = m_strTempDir;
#endif
return S_OK;
}
......
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