Commit b6b64e4b authored by Alexander.Trofimov's avatar Alexander.Trofimov

WRAPPING_TYPE_TOP_AND_BOTTOM -> AscCommon.WRAPPING_TYPE_TOP_AND_BOTTOM

parent e8fd4a2d
......@@ -69,7 +69,7 @@ function CBoundsRectForMath(oDrawing)
this.B = oDrawing.wrappingPolygon.bottom - this.Distance.B;
break;
}
case WRAPPING_TYPE_TOP_AND_BOTTOM:
case AscCommon.WRAPPING_TYPE_TOP_AND_BOTTOM:
{
var oLimits = editor.WordControl.m_oLogicDocument.Get_PageLimits(oDrawing.PageNum);
this.L = oLimits.X;
......@@ -101,7 +101,7 @@ function CBoundsRectForMath(oDrawing)
this.B = oDrawing.Y + oDrawing.H;
break;
}
case WRAPPING_TYPE_TOP_AND_BOTTOM:
case AscCommon.WRAPPING_TYPE_TOP_AND_BOTTOM:
{
var oLimits = editor.WordControl.m_oLogicDocument.Get_PageLimits(oDrawing.PageNum);
this.L = oLimits.X;
......
......@@ -288,7 +288,7 @@ CWrapPolygon.prototype =
}
break;
}
case WRAPPING_TYPE_TOP_AND_BOTTOM:
case AscCommon.WRAPPING_TYPE_TOP_AND_BOTTOM:
{
if (this.right < LeftField || this.left > RightField)
return ret;
......
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