Fix implicit RollUp/RollDown creating explicit cells
This commit is contained in:
parent
bb2555b9b1
commit
1b3bc5098c
1 changed files with 2 additions and 2 deletions
|
@ -1062,7 +1062,7 @@ void TXsheet::rollupCells(int r0, int c0, int r1, int c1) {
|
||||||
|
|
||||||
// in cells copio il contenuto delle celle che mi interessano
|
// in cells copio il contenuto delle celle che mi interessano
|
||||||
int k;
|
int k;
|
||||||
for (k = c0; k <= c1; k++) cells[k - c0] = getCell(CellPosition(r0, k));
|
for (k = c0; k <= c1; k++) cells[k - c0] = getCell(CellPosition(r0, k), false);
|
||||||
|
|
||||||
for (k = c0; k <= c1; k++) removeCells(r0, k, 1);
|
for (k = c0; k <= c1; k++) removeCells(r0, k, 1);
|
||||||
|
|
||||||
|
@ -1085,7 +1085,7 @@ void TXsheet::rolldownCells(int r0, int c0, int r1, int c1) {
|
||||||
|
|
||||||
// in cells copio il contenuto delle celle che mi interessano
|
// in cells copio il contenuto delle celle che mi interessano
|
||||||
int k;
|
int k;
|
||||||
for (k = c0; k <= c1; k++) cells[k - c0] = getCell(CellPosition(r1, k));
|
for (k = c0; k <= c1; k++) cells[k - c0] = getCell(CellPosition(r1, k), false);
|
||||||
|
|
||||||
for (k = c0; k <= c1; k++) removeCells(r1, k, 1);
|
for (k = c0; k <= c1; k++) removeCells(r1, k, 1);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue