Commit da7c37c2 authored by Dmitry.Shahtanov's avatar Dmitry.Shahtanov Committed by Alexander.Trofimov

при подсчете формул отдается приоритет числовому формату ячейки.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@51486 954022d7-b5bf-4e40-9824-e11837661b57
parent 55808097
......@@ -3978,7 +3978,10 @@ Woorksheet.prototype._RecalculatedFunctions=function(cell,bad){
}
__cell.setFormulaCA(res.ca);
if( res.numFormat !== undefined && res.numFormat >= 0){
__cell.setNumFormat(aStandartNumFormats[res.numFormat])
if( aStandartNumFormatsId[__cell.getNumFormatStr()] == 0 )
__cell.setNumFormat(aStandartNumFormats[res.numFormat])
}
else if( res.numFormat !== undefined && res.numFormat == -1 ){
adjustCellFormat(__cell,__cell.sFormula);
......
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