Commit f547a00a authored by SergeyLuzyanin's avatar SergeyLuzyanin

fix Bug 35307

parent 9ec43aeb
...@@ -3635,6 +3635,15 @@ CUniFill.prototype = ...@@ -3635,6 +3635,15 @@ CUniFill.prototype =
if(unifill.fill!=null) if(unifill.fill!=null)
{ {
this.fill = unifill.fill.createDuplicate(); this.fill = unifill.fill.createDuplicate();
if(this.fill.type === c_oAscFill.FILL_TYPE_PATT){
var _patt_fill = this.fill;
if(!_patt_fill.fgClr){
_patt_fill.setFgColor(CreateUniColorRGB(0, 0, 0));
}
if(!_patt_fill.bgClr){
_patt_fill.bgClr = CreateUniColorRGB(255, 255, 255);
}
}
} }
if(unifill.transparent != null) if(unifill.transparent != null)
{ {
......
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