Commit 0d4cea61 authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

создаем pen и brush c NoFill в случае их отсутствия

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@60393 954022d7-b5bf-4e40-9824-e11837661b57
parent 85657ae2
......@@ -3026,11 +3026,21 @@ CShape.prototype =
},
getFill: function () {
return this.brush;
if(this.brush && this.brush.fill)
{
return this.brush;
}
return CreateNoFillUniFill();
},
getStroke: function () {
return this.pen;
if(this.pen && this.pen.Fill)
{
return this.pen;
}
var ret = CreateNoFillLine();
ret.w = 0;
return ret;
},
canChangeArrows: function () {
......
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