Commit 5705ca6a authored by Elen.Subbotina's avatar Elen.Subbotina Committed by Alexander Trofimov

вытерто лишнее

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@59533 954022d7-b5bf-4e40-9824-e11837661b57
parent 5265acfa
......@@ -238,7 +238,7 @@ namespace NSFile
{
if (NULL == pData)
{
pData = new BYTE[6 * lCount + 3 + 1 + 64];
pData = new BYTE[6 * lCount + 3 + 1 ];
}
BYTE* pCodesCur = pData;
......@@ -447,12 +447,6 @@ namespace NSFile
CUtf8Converter::GetUtf8StringFromUnicode(sFileName.c_str(), sFileName.length(), pUtf8, lLen, false);
m_pFile = fopen((char*)pUtf8, "rb");
if (NULL == m_pFile)
{
printf("Error: %s\n", strerror(errno));
m_pFile = fopen((char*)sFileName.c_str(), "rb");
}
delete [] pUtf8;
#endif
if (NULL == m_pFile)
......
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