Commit c3d7da39 authored by Ilya.Kirillov's avatar Ilya.Kirillov

Исправлен баг с совместным редактированием (баг 20578).

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@50458 954022d7-b5bf-4e40-9824-e11837661b57
parent e7d7f6db
...@@ -1583,7 +1583,7 @@ ParaTextPr.prototype = ...@@ -1583,7 +1583,7 @@ ParaTextPr.prototype =
{ {
// Bool : undefined ? // Bool : undefined ?
// false -> CRFonts // false -> CRFonts
if ( undefined != Data.Old ) if ( undefined != Data.New )
{ {
Writer.WriteBool( false ); Writer.WriteBool( false );
Data.New.Write_ToBinary( Writer ); Data.New.Write_ToBinary( Writer );
...@@ -1598,7 +1598,7 @@ ParaTextPr.prototype = ...@@ -1598,7 +1598,7 @@ ParaTextPr.prototype =
{ {
// Bool : undefined ? // Bool : undefined ?
// false -> CLang // false -> CLang
if ( undefined != Data.Old ) if ( undefined != Data.New )
{ {
Writer.WriteBool( false ); Writer.WriteBool( false );
Data.New.Write_ToBinary( Writer ); Data.New.Write_ToBinary( Writer );
...@@ -1617,10 +1617,10 @@ ParaTextPr.prototype = ...@@ -1617,10 +1617,10 @@ ParaTextPr.prototype =
// Bool : undefined? // Bool : undefined?
// false -> String // false -> String
if ( undefined != Data.Old ) if ( undefined != Data.New )
{ {
Writer.WriteBool( false ); Writer.WriteBool( false );
Writer.WriteString2( Data.Old.Name ); Writer.WriteString2( Data.New.Name );
} }
else else
Writer.WriteBool( true ); Writer.WriteBool( true );
...@@ -1633,10 +1633,10 @@ ParaTextPr.prototype = ...@@ -1633,10 +1633,10 @@ ParaTextPr.prototype =
// Bool : undefined? // Bool : undefined?
// false -> Long // false -> Long
if ( undefined != Data.Old ) if ( undefined != Data.New )
{ {
Writer.WriteBool( false ); Writer.WriteBool( false );
Writer.WriteLong( Data.Old ); Writer.WriteLong( Data.New );
} }
else else
Writer.WriteBool( true ); Writer.WriteBool( true );
...@@ -1650,10 +1650,10 @@ ParaTextPr.prototype = ...@@ -1650,10 +1650,10 @@ ParaTextPr.prototype =
{ {
// Bool : undefined ? // Bool : undefined ?
// false -> Long // false -> Long
if ( undefined != Data.Old ) if ( undefined != Data.New )
{ {
Writer.WriteBool( false ); Writer.WriteBool( false );
Writer.WriteLong( Data.Old ); Writer.WriteLong( Data.New );
} }
else else
Writer.WriteBool( true ); Writer.WriteBool( true );
......
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