From 2f5b491f9eb634b27e1585770890020ad3c438a4 Mon Sep 17 00:00:00 2001 From: "Alexander.Trofimov" <Alexander.Trofimov@onlyoffice.com> Date: Wed, 9 Nov 2016 16:58:47 +0300 Subject: [PATCH] delete unused arguments --- cell/native/native.js | 4 +--- cell/view/WorksheetView.js | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/cell/native/native.js b/cell/native/native.js index 94a1e1e96..c47bec676 100644 --- a/cell/native/native.js +++ b/cell/native/native.js @@ -3467,9 +3467,7 @@ function OfflineEditor () { this.model.workbook.handlers.trigger("asc_onHideComment"); return isCoord ? this._calcActiveRangeOffsetIsCoord(x, y) : - this._calcActiveRangeOffset( - this.getCellLeftRelative(x < 0 ? ar.c1 : ar.c2, /*pt*/0), - this.getCellTopRelative(y < 0 ? ar.r1 : ar.r2, /*pt*/0)); + this._calcActiveRangeOffset(); }; AscCommonExcel.WorksheetView.prototype.__chartsRanges = function(ranges) { diff --git a/cell/view/WorksheetView.js b/cell/view/WorksheetView.js index 5643bcb90..f64a2b889 100644 --- a/cell/view/WorksheetView.js +++ b/cell/view/WorksheetView.js @@ -7473,9 +7473,7 @@ this.model.workbook.handlers.trigger("asc_onHideComment"); - return isCoord ? this._calcActiveRangeOffsetIsCoord(x, y) : this._calcActiveRangeOffset( - this.getCellLeftRelative(x < 0 ? ar.c1 : ar.c2, /*pt*/0), - this.getCellTopRelative(y < 0 ? ar.r1 : ar.r2, /*pt*/0)); + return isCoord ? this._calcActiveRangeOffsetIsCoord(x, y) : this._calcActiveRangeOffset(); }; // Окончание Ð²Ñ‹Ð´ÐµÐ»ÐµÐ½Ð¸Ñ -- 2.30.9