From 5373ad3b065a56c57a7d0b63ce2fe26fff7ce1ff Mon Sep 17 00:00:00 2001 From: "Alexander.Trofimov" Date: Fri, 14 Jun 2013 09:12:33 +0000 Subject: [PATCH] git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@47263 954022d7-b5bf-4e40-9824-e11837661b57 --- Excel/view/WorksheetView.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Excel/view/WorksheetView.js b/Excel/view/WorksheetView.js index 341425ce00..2768e9dd06 100644 --- a/Excel/view/WorksheetView.js +++ b/Excel/view/WorksheetView.js @@ -1074,6 +1074,8 @@ aCFs[i].SqRefRange._setPropertyNoEmpty(null, null, function (c) { if (CellValueType.Number === c.getType() && false === c.isEmptyTextString()) { tmp = parseInt(c.getValueWithoutFormat()); + if (isNaN(tmp)) + return; arrayCells.push({cell: c, val: tmp}); min = Math.min(min, tmp); max = Math.max(max, tmp);