Commit e72034a5 authored by Alexander.Trofimov's avatar Alexander.Trofimov

c_numFormatFirstCell -> cNumFormatFirstCell

parent 7360ec7f
......@@ -439,7 +439,7 @@ var c_Date1900Const = 25568; //разница в днях между 01.01.1970
var c_sPerDay = 86400;
var c_msPerDay = c_sPerDay * 1000;
var rx_sFuncPref = /_xlfn\./i;
var c_numFormatFirstCell = -1;
var cNumFormatFirstCell = -1;
var cNumFormatNone = -2;
Date.prototype.excelNullDate1900 = Date.UTC( 1899, 11, 30, 0, 0, 0 );
......@@ -2336,7 +2336,7 @@ parserHelp.setDigitSeparator(AscCommon.g_oDefaultCultureInfo.NumberDecimalSepara
}
cBaseOperator.prototype.type = cElementType.operator;
cBaseOperator.prototype.numFormat = c_numFormatFirstCell;
cBaseOperator.prototype.numFormat = cNumFormatFirstCell;
cBaseOperator.prototype.getArguments = function () {
return this.argumentsCurrent;
};
......@@ -2387,7 +2387,7 @@ parserHelp.setDigitSeparator(AscCommon.g_oDefaultCultureInfo.NumberDecimalSepara
cBaseFunction.prototype.type = cElementType.func;
cBaseFunction.prototype.argumentsMin = 0;
cBaseFunction.prototype.argumentsMax = 255;
cBaseFunction.prototype.numFormat = c_numFormatFirstCell;
cBaseFunction.prototype.numFormat = cNumFormatFirstCell;
cBaseFunction.prototype.ca = false;
cBaseFunction.prototype.Calculate = function () {
this.value = new cError(cErrorType.wrong_name);
......@@ -5127,7 +5127,7 @@ parserFormula.prototype.parse = function(local, digitDelim) {
opt_bbox = new Asc.Range(0, 0, 0, 0);
}
var elemArr = [], _tmp, numFormat = -1, currentElement = null;
var elemArr = [], _tmp, numFormat = cNumFormatFirstCell, currentElement = null;
for (var i = 0; i < this.outStack.length; i++) {
currentElement = this.outStack[i];
if (currentElement.name == "(") {
......@@ -6075,7 +6075,7 @@ function rtl_math_erfc( x ) {
window['AscCommonExcel'].c_DateCorrectConst = c_Date1900Const;
window['AscCommonExcel'].c_sPerDay = c_sPerDay;
window['AscCommonExcel'].c_msPerDay = c_msPerDay;
window['AscCommonExcel'].cNumFormatFirstCell = c_numFormatFirstCell;
window['AscCommonExcel'].cNumFormatFirstCell = cNumFormatFirstCell;
window['AscCommonExcel'].cNumFormatNone = cNumFormatNone;
window['AscCommonExcel'].cNumber = cNumber;
......
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