Commit 3d9c5d18 authored by Sergey.Tsarkov's avatar Sergey.Tsarkov Committed by Alexander.Trofimov

http://bugzserver/show_bug.cgi?id=24788

+поправлена запись пустых ранов в бинарник

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@56717 954022d7-b5bf-4e40-9824-e11837661b57
parent a7eed3be
......@@ -2126,8 +2126,8 @@ function Binary_oMathWriter(memory, oMathPara)
this.WriteDelimiterPr = function(props,oDelimiter)
{
var oThis = this;
//if (null != oDelimiter.column)
// this.bs.WriteItem(c_oSer_OMathContentType.Column, function(){oThis.WriteColumn(oDelimiter.column);});
if (null != props.column)
this.bs.WriteItem(c_oSer_OMathBottomNodesType.Column, function(){oThis.WriteCount(props.column);});
if (null != props.begChr)
this.bs.WriteItem(c_oSer_OMathBottomNodesType.BegChr, function(){oThis.WriteBegChr(props.begChr);});
if (null != props.endChr)
......@@ -9521,7 +9521,9 @@ function Binary_oMathReader(stream)
if (c_oSer_OMathContentType.MText === type)
{
var text = this.stream.GetString2();
var text = "";
if (length > 0)
text = this.stream.GetString2();
for (var i = 0; i < text.length; ++i)
{
//управляющие символы
......
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