Commit c1379b85 authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

use strict: not create global variable (without var)

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@56593 954022d7-b5bf-4e40-9824-e11837661b57
parent f5351d82
......@@ -168,8 +168,8 @@ ParaMath.prototype =
}
else
{
nPosStart = oStartContent.State.ContentPos;
nLenStart = oStartContent.Content.length;
var nPosStart = oStartContent.State.ContentPos,
nLenStart = oStartContent.Content.length,
nPosEnd = oEndContent.State.ContentPos;
History.Create_NewPoint();
......@@ -179,7 +179,7 @@ ParaMath.prototype =
var oMRun = new ParaRun(this.Paragraph, true);
oMRun.Pr = oStartContent.Pr;
for (i=nPosStart; i<nLenStart; i++)
for (var i=nPosStart; i<nLenStart; i++)
{
var Pos = oMRun.Content.length;
var EndPos = Pos + 1;
......
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