Commit beac7a44 authored by Sergey.Konovalov's avatar Sergey.Konovalov Committed by Alexander Trofimov

отвалилась конвертация docx->doct

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@59531 954022d7-b5bf-4e40-9824-e11837661b57
parent 3733f0d8
......@@ -29,8 +29,8 @@
#define DOUBLE_MAIN 10000
#ifdef _WIN32
#include "../../Common/DocxFormat/Source/Base/unicode_util.h"
#endif
#include "../../Common/DocxFormat/Source/Base/unicode_util.h"
#endif
namespace NSBinPptxRW
{
......@@ -411,11 +411,9 @@ namespace NSBinPptxRW
{
LONG lSize = __wstrlen(sBuffer);
if (lSize < 1) return;
LONG lSizeMem =0;
if (sizeof (sBuffer[0]) == 4)
if (sizeof(wchar_t) == 4)
{
lSizeMem = lSize * sizeof(UTF16);
......
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