Commit 81f6a062 authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

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

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@57415 954022d7-b5bf-4e40-9824-e11837661b57
parent b9d848b9
......@@ -3242,8 +3242,8 @@
if (null !== t.topLeftFrozenCell)
col = row = 0;
else if (0 === ar.startCol && 0 === ar.startRow) {
col = (t.visibleRange.c2 - t.visibleRange.c1) / 2;
row = (t.visibleRange.r2 - t.visibleRange.r1) / 2;
col = ((t.visibleRange.c2 - t.visibleRange.c1) / 2) >> 0;
row = ((t.visibleRange.r2 - t.visibleRange.r1) / 2) >> 0;
} else {
col = ar.startCol;
row = ar.startRow;
......
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