diff --git a/oform/Role.js b/oform/Role.js index 6b84b9b..69110b9 100644 --- a/oform/Role.js +++ b/oform/Role.js @@ -114,7 +114,7 @@ if (undefined === ascColor || null === ascColor) this.Color = null; else - this.Color = new AscWord.CDocumentColor(ascColor.get_r(), ascColor.get_g(), ascColor.get_b()); + this.Color = new AscWord.CDocumentColor(ascColor.asc_getR(), ascColor.asc_getG(), ascColor.asc_getB()); } CRoleSettings.prototype.getAscColor = function() {