Commit d7bd961c authored by Sergey.Konovalov's avatar Sergey.Konovalov Committed by Alexander.Trofimov

ошибка при чтении c_oSerProp_cellPrType.CellMar

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@48347 954022d7-b5bf-4e40-9824-e11837661b57
parent ed41cf2d
...@@ -4251,13 +4251,11 @@ Binary_tblPrReader.prototype = ...@@ -4251,13 +4251,11 @@ Binary_tblPrReader.prototype =
} }
else if( c_oSerProp_cellPrType.CellMar === type ) else if( c_oSerProp_cellPrType.CellMar === type )
{ {
var oW = {Type: null, W: null, WDocx: null};
res = this.bcr.Read2(length, function(t, l){
return oThis.ReadW(t, l, oW);
});
if(null == Pr.TableCellMar) if(null == Pr.TableCellMar)
Pr.TableCellMar = new CTableMeasurement(tblwidth_Auto, 0); Pr.TableCellMar = this.GetNewMargin();
this.ParseW(oW, Pr.TableCellMar); res = this.bcr.Read1(length, function(t, l){
return oThis.ReadCellMargins(t, l, Pr.TableCellMar);
});
} }
else if( c_oSerProp_cellPrType.TableCellW === type ) else if( c_oSerProp_cellPrType.TableCellW === type )
{ {
......
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