修复`font.color`报错问题
This commit is contained in:
parent
b2040b1db5
commit
5196e6424c
|
|
@ -225,9 +225,9 @@ Begin
|
|||
End;
|
||||
Function TSDocxFont.ReadColor();virtual;
|
||||
Begin
|
||||
v := pr.Value("Color");
|
||||
v := pr_.Value("Color");
|
||||
value := color_index_[v];
|
||||
if ifnil(value) then return color_[v];
|
||||
return ifnil(value) ? color_[v] : value;
|
||||
End;
|
||||
|
||||
Function TSDocxFont.WriteColorIndex(value);virtual;
|
||||
|
|
|
|||
Loading…
Reference in New Issue