Commit 216b4d3c authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander.Trofimov

git-svn-id:...

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@49434 954022d7-b5bf-4e40-9824-e11837661b57
parent 7826a3ce
...@@ -1063,7 +1063,12 @@ CShapeDrawer.prototype = ...@@ -1063,7 +1063,12 @@ CShapeDrawer.prototype =
if (this.IsRectShape && this.Graphics.AddSmartRect !== undefined) if (this.IsRectShape && this.Graphics.AddSmartRect !== undefined)
{ {
this.Graphics.AddSmartRect(0, 0, this.Shape.absExtX, this.Shape.absExtY, this.StrokeWidth); if (undefined !== this.Shape.absExtX)
this.Graphics.AddSmartRect(0, 0, this.Shape.absExtX, this.Shape.absExtY, this.StrokeWidth);
else if (undefined !== this.Shape.extX)
this.Graphics.AddSmartRect(0, 0, this.Shape.extX, this.Shape.extY, this.StrokeWidth);
else
this.Graphics.ds();
} }
else else
{ {
......
...@@ -1061,7 +1061,12 @@ CShapeDrawer.prototype = ...@@ -1061,7 +1061,12 @@ CShapeDrawer.prototype =
if (this.IsRectShape && this.Graphics.AddSmartRect !== undefined) if (this.IsRectShape && this.Graphics.AddSmartRect !== undefined)
{ {
this.Graphics.AddSmartRect(0, 0, this.Shape.absExtX, this.Shape.absExtY, this.StrokeWidth); if (undefined !== this.Shape.absExtX)
this.Graphics.AddSmartRect(0, 0, this.Shape.absExtX, this.Shape.absExtY, this.StrokeWidth);
else if (undefined !== this.Shape.extX)
this.Graphics.AddSmartRect(0, 0, this.Shape.extX, this.Shape.extY, this.StrokeWidth);
else
this.Graphics.ds();
} }
else else
{ {
......
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