Commit e1f5a6d5 authored by Sergey Luzyanin's avatar Sergey Luzyanin

Баги в билдере

parent 13f8f7e9
...@@ -269,7 +269,7 @@ ...@@ -269,7 +269,7 @@
function ApiSchemeColor(sColorId) function ApiSchemeColor(sColorId)
{ {
var oUniColor = new AscFormat.CUniColor(); var oUniColor = new AscFormat.CUniColor();
oUniColor.setColor(new CSchemeColor()); oUniColor.setColor(new AscFormat.CSchemeColor());
switch(sColorId) switch(sColorId)
{ {
case "accent1": { oUniColor.color.id = 0; break;} case "accent1": { oUniColor.color.id = 0; break;}
...@@ -782,7 +782,7 @@ ...@@ -782,7 +782,7 @@
*/ */
Api.prototype.CreateSchemeColor = function(sSchemeColorId) Api.prototype.CreateSchemeColor = function(sSchemeColorId)
{ {
return new ApiSchemeColor(SchemeColorId); return new ApiSchemeColor(sSchemeColorId);
}; };
/** /**
......
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