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

при открытии добавляются лишние параграфы во вложенных таблицах

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@53238 954022d7-b5bf-4e40-9824-e11837661b57
parent 696b2430
......@@ -9698,7 +9698,12 @@ function Binary_DocumentTableReader(doc, oReadResult, openParams, stream, bAllow
this.nCurCommentsCount = oCellContentReader.nCurCommentsCount;
for(var i = 0, length = oCellContent.length; i < length; ++i)
cell.Content.Internal_Content_Add(i + 1, oCellContent[i]);
{
if(i == length - 1)
cell.Content.Internal_Content_Add(i + 1, oCellContent[i], true);
else
cell.Content.Internal_Content_Add(i + 1, oCellContent[i], false);
}
cell.Content.Internal_Content_Remove(0, 1);
}
......
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