Commit 94045a63 authored by GoshaZotov's avatar GoshaZotov

Bug #32259 - Ошибка при копировании/вставке формулы с дробными числами где...

Bug #32259 - Ошибка при копировании/вставке формулы с дробными числами где разделителем является запятая
parent d2036e07
...@@ -5488,7 +5488,10 @@ Cell.prototype.setValue=function(val,callback, isCopyPaste){ ...@@ -5488,7 +5488,10 @@ Cell.prototype.setValue=function(val,callback, isCopyPaste){
oldFP = this.formulaParsed; oldFP = this.formulaParsed;
var cellId = g_oCellAddressUtils.getCellId(this.nRow, this.nCol); var cellId = g_oCellAddressUtils.getCellId(this.nRow, this.nCol);
this.formulaParsed = new parserFormula(val.substring(1),cellId,this.ws); this.formulaParsed = new parserFormula(val.substring(1),cellId,this.ws);
if( !this.formulaParsed.parse( gFormulaLocaleParse, gFormulaLocaleDigetSep ) ){
var formulaLocaleParse = isCopyPaste === true ? false : gFormulaLocaleParse;
var formulaLocaleDigetSep = isCopyPaste === true ? false : gFormulaLocaleDigetSep;
if( !this.formulaParsed.parse( gFormulaLocaleParse, formulaLocaleDigetSep ) ){
switch( this.formulaParsed.error[this.formulaParsed.error.length-1] ){ switch( this.formulaParsed.error[this.formulaParsed.error.length-1] ){
case c_oAscError.ID.FrmlWrongFunctionName: case c_oAscError.ID.FrmlWrongFunctionName:
break; break;
......
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