Commit ee6f3c79 authored by Anna.Pavlova's avatar Anna.Pavlova Committed by Alexander.Trofimov

Поправила баг : итераратор Limit имеет argSize = -1, вместо -2

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@64321 954022d7-b5bf-4e40-9824-e11837661b57
parent 8c221e8e
...@@ -81,7 +81,6 @@ CLimitPrimary.prototype.PreRecalc = function(Parent, ParaMath, ArgSize, RPI, Gap ...@@ -81,7 +81,6 @@ CLimitPrimary.prototype.PreRecalc = function(Parent, ParaMath, ArgSize, RPI, Gap
var NewRPI = RPI.Copy(); var NewRPI = RPI.Copy();
NewRPI.bDecreasedComp = true; NewRPI.bDecreasedComp = true;
this.Iterator.ArgSize.decrease();
this.Iterator.PreRecalc(this, ParaMath, ArgSzIter, NewRPI); this.Iterator.PreRecalc(this, ParaMath, ArgSzIter, NewRPI);
}; };
CLimitPrimary.prototype.Resize = function(oMeasure, RPI) CLimitPrimary.prototype.Resize = function(oMeasure, RPI)
......
...@@ -758,12 +758,6 @@ CMathContent.prototype.fillPlaceholders = function() ...@@ -758,12 +758,6 @@ CMathContent.prototype.fillPlaceholders = function()
////////////////////////////////////// //////////////////////////////////////
CMathContent.prototype.PreRecalc = function(Parent, ParaMath, ArgSize, RPI) CMathContent.prototype.PreRecalc = function(Parent, ParaMath, ArgSize, RPI)
{ {
if(ArgSize !== null && ArgSize !== undefined)
{
this.Compiled_ArgSz.value = this.ArgSize.value;
this.Compiled_ArgSz.Merge(ArgSize);
}
this.ParaMath = ParaMath; this.ParaMath = ParaMath;
if(Parent !== null) if(Parent !== 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