Commit a734973d authored by GoshaZotov's avatar GoshaZotov

fix bug: incorrectly copy/paste part of format table

parent 806c7656
......@@ -9420,7 +9420,7 @@
totalsRowCount = table.TotalsRowCount;
}
var bbox = new Asc.Range(0, 0, table.Ref.c2 - table.Ref.c1, table.Ref.r2 - table.Ref.r1);
var bbox = new Asc.Range(table.Ref.c1, table.Ref.r1, table.Ref.c2, table.Ref.r2);
styleForCurTable.initStyle(val.sheetMergedStyles, bbox, styleInfo, headerRowCount, totalsRowCount);
var cell = val._getCell(pasteRow, pasteCol);
if (cell)
......
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