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

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@51648 954022d7-b5bf-4e40-9824-e11837661b57
parent b69c7cf6
...@@ -930,9 +930,9 @@ CRGBColor.prototype = ...@@ -930,9 +930,9 @@ CRGBColor.prototype =
Write_ToBinary2 : function(Writer) Write_ToBinary2 : function(Writer)
{ {
Writer.WriteLong(this.type); Writer.WriteLong(this.type);
var RGBA = {R:0, G:0, B:0, A:255}; // var RGBA = {R:0, G:0, B:0, A:255};
WriteObjectLong(Writer, RGBA); WriteObjectLong(Writer, this.RGBA);
this.setColor(((RGBA.R << 16) & 0xFF0000) + ((RGBA.G << 8) & 0xFF00) + RGBA.B); //this.setColor(((RGBA.R << 16) & 0xFF0000) + ((RGBA.G << 8) & 0xFF00) + RGBA.B);
}, },
Read_FromBinary2 : function(Reader) Read_FromBinary2 : function(Reader)
......
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