Commit 890bff65 authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

баг при записи/зачитывании CLn

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@63632 954022d7-b5bf-4e40-9824-e11837661b57
parent b145d204
......@@ -5621,6 +5621,18 @@ LineJoin.prototype =
}
},
Write_ToBinary: function(w)
{
writeLong(w, this.type);
writeBool(w, this.limit);
},
Read_FromBinary: function(r)
{
this.type = readLong(r);
this.limit = readBool(r);
},
Load_Changes: function(r)
{
if(this.getObjectType() !== r.GetLong())
......@@ -5987,7 +5999,13 @@ CLn.prototype =
this.Fill.Write_ToBinary(w);
}
writeLong(w, this.prstDash);
writeLong(w, this.Join);
w.WriteBool(isRealObject(this.Join));
if(isRealObject(this.Join))
{
this.Join.Write_ToBinary(w);
}
w.WriteBool(isRealObject(this.headEnd));
if(isRealObject(this.headEnd))
{
......@@ -6016,7 +6034,13 @@ CLn.prototype =
this.Fill = null;
}
this.prstDash = readLong(r);
this.Join = readLong(r);
if(r.GetBool())
{
this.Join = new LineJoin();
this.Join.Read_FromBinary(r);
}
if(r.GetBool())
{
this.headEnd = new EndArrow();
......
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