Commit 68b107ac authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

На _prepareCellStyle если не нашли возвращаем default

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@57211 954022d7-b5bf-4e40-9824-e11837661b57
parent 5df923f1
...@@ -4153,7 +4153,7 @@ Cell.prototype.setValueCleanFormula = function (array) { ...@@ -4153,7 +4153,7 @@ Cell.prototype.setValueCleanFormula = function (array) {
wb.needRecalc.nodes[getVertexId(sheetId, cellId)] = [sheetId, cellId]; wb.needRecalc.nodes[getVertexId(sheetId, cellId)] = [sheetId, cellId];
wb.needRecalc.length++; wb.needRecalc.length++;
} };
Cell.prototype.setType=function(type){ Cell.prototype.setType=function(type){
return this.oValue.type = type; return this.oValue.type = type;
}; };
......
...@@ -1415,7 +1415,7 @@ CCellStyles.prototype = { ...@@ -1415,7 +1415,7 @@ CCellStyles.prototype = {
this.CustomStyles[i].XfId = ++maxXfId; this.CustomStyles[i].XfId = ++maxXfId;
return this.CustomStyles[i].XfId; return this.CustomStyles[i].XfId;
} }
return null; return g_oDefaultXfId;
} }
}; };
/** @constructor */ /** @constructor */
......
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