bug fixed

This commit is contained in:
ONLYOFFICE 2014-08-21 15:21:20 +04:00
parent f6e873e9ea
commit cbd5a87684

View file

@ -1970,7 +1970,8 @@ function CellFormat(format) {
} }
} }
} }
this.oTextFormat = new NumFormat(false).setFormat("@"); this.oTextFormat = new NumFormat(false);
this.oTextFormat.setFormat("@");
if (null == oPositive || null == oNegative || null == oNull) { if (null == oPositive || null == oNegative || null == oNull) {
for (var i = 0, length = aParsedFormats.length; i < length; ++i) { for (var i = 0, length = aParsedFormats.length; i < length; ++i) {
var oCurFormat = aParsedFormats[i]; var oCurFormat = aParsedFormats[i];