Commit ef546240 authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

return "" вместо null, если нет стилей

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@48016 954022d7-b5bf-4e40-9824-e11837661b57
parent 0e188f81
......@@ -829,7 +829,7 @@
++styleIndex;
}
this.defaultStylesImage = (0 === styleIndex) ? null : oCanvas.toDataURL("image/png");
this.defaultStylesImage = (0 === styleIndex) ? "" : oCanvas.toDataURL("image/png");
},
generateDocumentStyles: function (cellStylesAll, fmgrGraphics, stringRenderer) {
var nDocumentStylesCount = cellStylesAll.getCustomStylesCount();
......@@ -855,7 +855,7 @@
++styleIndex;
}
this.docStylesImage = (0 === styleIndex) ? null : oCanvas.toDataURL("image/png");
this.docStylesImage = (0 === styleIndex) ? "" : oCanvas.toDataURL("image/png");
},
drawStyle: function (oGraphics, stringRenderer, oStyle, nIndex) {
var nOffsetY = nIndex * this.styleThumbnailHeightPt;
......
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