You've already forked lazarus-ccr
fpspreadsheet: Do not unmerge cells in Worksheet.EraseCell when parameter KeepFormat is true.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8047 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -2013,7 +2013,7 @@ begin
|
|||||||
c := ACell^.Col;
|
c := ACell^.Col;
|
||||||
|
|
||||||
// Unmerge range if the cell is the base of a merged block
|
// Unmerge range if the cell is the base of a merged block
|
||||||
if IsMergeBase(ACell) then
|
if IsMergeBase(ACell) and not AKeepFormat then
|
||||||
UnmergeCells(r, c);
|
UnmergeCells(r, c);
|
||||||
|
|
||||||
// Remove the comment if the cell has one
|
// Remove the comment if the cell has one
|
||||||
|
Reference in New Issue
Block a user