Commit 4f078101 authored by Alexander.Trofimov's avatar Alexander.Trofimov

Поправил баг http://bugzserver/show_bug.cgi?id=27447

Обновлялся не тот диапазон, при "копировании по образцу".

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@59652 954022d7-b5bf-4e40-9824-e11837661b57
parent f347fa39
......@@ -6975,11 +6975,11 @@
oTmpRange.promoteFromTo(from, to);
// Сбрасываем параметры
t._updateCellsRange(t.activeRange, /*canChangeColWidth*/c_oAscCanChangeColWidth.none, /*lockDraw*/true);
t._updateCellsRange(to, /*canChangeColWidth*/c_oAscCanChangeColWidth.none, /*lockDraw*/true);
if (c_oAscFormatPainterState.kMultiple !== t.stateFormatPainter)
t.formatPainter();
// Перерисовываем
t._recalculateAfterUpdate([t.activeRange]);
t._recalculateAfterUpdate([to]);
};
var result = oTmpRange.preparePromoteFromTo(from, to);
......
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