Commit 01bc9501 authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

Поправил падение. В _updateCellsRange нужно передавать asc_Range

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@57320 954022d7-b5bf-4e40-9824-e11837661b57
parent 28b8e04c
...@@ -7721,7 +7721,7 @@ ...@@ -7721,7 +7721,7 @@
t.activeMoveRange = null; t.activeMoveRange = null;
t.startCellMoveRange = null; t.startCellMoveRange = null;
t.isChanged = true; t.isChanged = true;
t._updateCellsRange(new Range(0, 0, arnFrom.c2 > arnTo.c2 ? arnFrom.c2 : arnTo.c2, t._updateCellsRange(new asc_Range(0, 0, arnFrom.c2 > arnTo.c2 ? arnFrom.c2 : arnTo.c2,
arnFrom.r2 > arnTo.r2 ? arnFrom.r2 : arnTo.r2), /*canChangeColWidth*/c_oAscCanChangeColWidth.none); arnFrom.r2 > arnTo.r2 ? arnFrom.r2 : arnTo.r2), /*canChangeColWidth*/c_oAscCanChangeColWidth.none);
// Перерисовываем // Перерисовываем
t.cleanSelection(); t.cleanSelection();
...@@ -7780,7 +7780,7 @@ ...@@ -7780,7 +7780,7 @@
t.activeMoveRange = null; t.activeMoveRange = null;
t.startCellMoveRange = null; t.startCellMoveRange = null;
t.isChanged = true; t.isChanged = true;
t._updateCellsRange(new Range(0, 0, arnFrom.c2 > arnTo.c2 ? arnFrom.c2 : arnTo.c2, t._updateCellsRange(new asc_Range(0, 0, arnFrom.c2 > arnTo.c2 ? arnFrom.c2 : arnTo.c2,
arnFrom.r2 > arnTo.r2 ? arnFrom.r2 : arnTo.r2), /*canChangeColWidth*/c_oAscCanChangeColWidth.none); arnFrom.r2 > arnTo.r2 ? arnFrom.r2 : arnTo.r2), /*canChangeColWidth*/c_oAscCanChangeColWidth.none);
// Перерисовываем // Перерисовываем
t.cleanSelection(); t.cleanSelection();
......
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