Commit 3898d667 authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

правка бага 21568 - [CoEdit] Ошибка в консоли при попытке редактировать...

правка бага 21568 - [CoEdit] Ошибка в консоли при попытке редактировать диаграмму 2-ым пользователем

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@50956 954022d7-b5bf-4e40-9824-e11837661b57
parent fd366313
......@@ -1286,7 +1286,7 @@ CChartAsGroup.prototype =
var _radius;
if(!(typeof radius === "number"))
_radius = this.drawingDocument.GetMMPerDot(TRACK_CIRCLE_RADIUS);
_radius = editor.WordControl.m_oDrawingDocument.GetMMPerDot(TRACK_CIRCLE_RADIUS);
else
_radius = radius;
......@@ -1374,7 +1374,7 @@ CChartAsGroup.prototype =
}
_dist_x = _relative_x - _horizontal_center;
_dist_y = _relative_y + this.drawingDocument.GetMMPerDot(TRACK_DISTANCE_ROTATE);
_dist_y = _relative_y + editor.WordControl.m_oDrawingDocument.GetMMPerDot(TRACK_DISTANCE_ROTATE);
if(Math.sqrt(_dist_x*_dist_x + _dist_y*_dist_y) < _radius)
{
......
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