Commit 847afe29 authored by Sergey.Konovalov's avatar Sergey.Konovalov Committed by Alexander.Trofimov

asc_setCellBackgroundColor ошибка, если выбрать color none

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@48569 954022d7-b5bf-4e40-9824-e11837661b57
parent d92b2e58
...@@ -2360,9 +2360,10 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS"; ...@@ -2360,9 +2360,10 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS";
ws.objectRender.controller.setCellBackgroundColor(color); ws.objectRender.controller.setCellBackgroundColor(color);
else else
{ {
if(color instanceof CAscColor) if(color instanceof CAscColor || null == color)
{ {
color = CorrectAscColor(color); if(null != color)
color = CorrectAscColor(color);
this.wb.getWorksheet().setSelectionInfo("bc", color); this.wb.getWorksheet().setSelectionInfo("bc", color);
this.wb.restoreFocus(); this.wb.restoreFocus();
} }
......
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