You've already forked lazarus-ccr
fpspreadsheet: Fix Worksheet.EraseCell not removing formulas and comments.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6546 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -2220,8 +2220,13 @@ begin
|
|||||||
UnmergeCells(r, c);
|
UnmergeCells(r, c);
|
||||||
|
|
||||||
// Remove the comment if the cell has one
|
// Remove the comment if the cell has one
|
||||||
if HasComment(ACell) then
|
RemoveComment(ACell);
|
||||||
WriteComment(r, c, '');
|
|
||||||
|
// Removes a hyperlink it the cell has one
|
||||||
|
RemoveHyperlink(ACell);
|
||||||
|
|
||||||
|
// Removes the formula if the cell has one
|
||||||
|
DeleteFormula(ACell);
|
||||||
|
|
||||||
// Erase all cell content
|
// Erase all cell content
|
||||||
InitCell(nil, r, c, ACell^);
|
InitCell(nil, r, c, ACell^);
|
||||||
|
Reference in New Issue
Block a user