Commit 3e4f9432 authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

правка с потерей Mods в SolidFill

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@53932 954022d7-b5bf-4e40-9824-e11837661b57
parent b38eb832
......@@ -2005,7 +2005,12 @@ function BinaryPPTYLoader()
uni_fill.fill = new CSolidFill();
uni_fill.fill.color = this.ReadUniColor();
uni_fill.fill.color.Mods = new CColorModifiers();
// uni_fill.fill.color.Mods = new CColorModifiers();
if(uni_fill.fill
&& uni_fill.fill.color
&& uni_fill.fill.color.Mods
&& uni_fill.fill.color.Mods.Mods)
{
var mods = uni_fill.fill.color.Mods.Mods;
var _len = mods.length;
for (var i = 0; i < _len; i++)
......@@ -2017,7 +2022,11 @@ function BinaryPPTYLoader()
break;
}
}
}
else
{
uni_fill.fill.color.Mods = new CColorModifiers();
}
break;
}
case FILL_TYPE_NOFILL:
......
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