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

исправлена потеря bgRef в bg при совместном редактировании

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@53067 954022d7-b5bf-4e40-9824-e11837661b57
parent 347f0d5f
......@@ -3931,6 +3931,12 @@ function CBg()
{
this.bgPr.Write_ToBinary2(w);
}
w.WriteBool(isRealObject(this.bgRef));
if(isRealObject(this.bgRef))
{
this.bgRef.Write_ToBinary2(w);
}
};
this.Read_FromBinary2 = function(r)
......@@ -3940,6 +3946,19 @@ function CBg()
this.bgPr = new CBgPr();
this.bgPr.Read_FromBinary2(r);
}
else
{
this.bgPr = null;
}
if(r.GetBool())
{
this.bgRef = new StyleRef();
this.bgRef.Read_FromBinary2(r);
}
else
{
this.bgRef = null;
}
};
}
......
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