Commit b0de8c75 authored by GoshaZotov's avatar GoshaZotov

fix bug 34431

parent b63ab906
......@@ -13282,11 +13282,11 @@
}
case c_oAscChangeSelectionFormatTable.data:
{
//TODO проверить есть ли строка заголовков
startCol = refTablePart.c1;
endCol = refTablePart.c2;
startRow = refTablePart.r1 + 1;
endRow = refTablePart.r2;
var rangeWithoutHeaderFooter = tablePart.getRangeWithoutHeaderFooter();
startCol = lastSelection.c1 < refTablePart.c1 ? refTablePart.c1 : lastSelection.c1;
endCol = lastSelection.c2 > refTablePart.c2 ? refTablePart.c2 : lastSelection.c2;
startRow = rangeWithoutHeaderFooter.r1;
endRow = rangeWithoutHeaderFooter.r2;
break;
}
......
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