вы догонку (win32)

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@59106 954022d7-b5bf-4e40-9824-e11837661b57
This commit is contained in:
Elen.Subbotina
2014-10-22 11:24:38 +00:00
committed by Alexander Trofimov
parent 4cd8a69f18
commit 53d4305f60
4 changed files with 11 additions and 9 deletions

View File

@ -365,8 +365,11 @@ HRESULT CPPTXFile::ConvertPPTYToPPTX(BSTR bsInput, BSTR bsOutput)
BYTE* pSrcBuffer = new BYTE[lFileSize];
oFileBinary.ReadFile(pSrcBuffer, (DWORD)lFileSize);
oFileBinary.CloseFile();
CString srcFolder = FileSystem::Directory::GetFolderPath((CString)bsInput);
CString strBsInput = bsInput;
CString srcFolder = FileSystem::Directory::GetFolderPath(strBsInput);
oWriter.OpenPPTY(pSrcBuffer, lFileSize, srcFolder, m_strFolderThemes);
RELEASEARRAYOBJECTS(pSrcBuffer);
CString strBsOutput = bsOutput;