Commit 5c216d6a authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@47113 954022d7-b5bf-4e40-9824-e11837661b57
parent 5d2bea7b
......@@ -3158,7 +3158,7 @@ ParaDrawing.prototype =
if(isRealObject(Props.ChartProperties))
{
if(this.GraphicObj.isImage())
if(this.GraphicObj.isImage() && isRealObject(this.GraphicObj.chart))
{
this.GraphicObj.setDiagram(Props.ChartProperties)
}
......@@ -3166,7 +3166,7 @@ ParaDrawing.prototype =
this.GraphicObj.setDiagram(Props.ChartProperties);
}
if(typeof Props.ImageUrl === "string" && this.GraphicObj.isImage())
if(typeof Props.ImageUrl === "string" && this.GraphicObj.isImage() && !isRealObject(this.GraphicObj.chart))
{
this.GraphicObj.setRasterImage2(Props.ImageUrl);
}
......
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