From 3898d6679b72b187cc207b0b4fecb10cff181c4a Mon Sep 17 00:00:00 2001
From: "Sergey.Luzyanin" <Sergey.Luzyanin@OnlyOffice.com>
Date: Thu, 17 Oct 2013 07:40:28 +0000
Subject: [PATCH] =?UTF-8?q?=D0=BF=D1=80=D0=B0=D0=B2=D0=BA=D0=B0=20=D0=B1?=
 =?UTF-8?q?=D0=B0=D0=B3=D0=B0=2021568=20-=20[CoEdit]=20=D0=9E=D1=88=D0=B8?=
 =?UTF-8?q?=D0=B1=D0=BA=D0=B0=20=D0=B2=20=D0=BA=D0=BE=D0=BD=D1=81=D0=BE?=
 =?UTF-8?q?=D0=BB=D0=B8=20=D0=BF=D1=80=D0=B8=20=D0=BF=D0=BE=D0=BF=D1=8B?=
 =?UTF-8?q?=D1=82=D0=BA=D0=B5=20=D1=80=D0=B5=D0=B4=D0=B0=D0=BA=D1=82=D0=B8?=
 =?UTF-8?q?=D1=80=D0=BE=D0=B2=D0=B0=D1=82=D1=8C=20=D0=B4=D0=B8=D0=B0=D0=B3?=
 =?UTF-8?q?=D1=80=D0=B0=D0=BC=D0=BC=D1=83=202-=D1=8B=D0=BC=20=D0=BF=D0=BE?=
 =?UTF-8?q?=D0=BB=D1=8C=D0=B7=D0=BE=D0=B2=D0=B0=D1=82=D0=B5=D0=BB=D0=B5?=
 =?UTF-8?q?=D0=BC?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@50956 954022d7-b5bf-4e40-9824-e11837661b57
---
 Word/Editor/GraphicObjects/ObjectTypes/Chart.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Word/Editor/GraphicObjects/ObjectTypes/Chart.js b/Word/Editor/GraphicObjects/ObjectTypes/Chart.js
index aabb803ad..d07a27dc8 100644
--- a/Word/Editor/GraphicObjects/ObjectTypes/Chart.js
+++ b/Word/Editor/GraphicObjects/ObjectTypes/Chart.js
@@ -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)
             {
-- 
2.30.9