You've already forked lazarus-ccr
fpspreadsheet: Fix TsWorksheet.WriteBlank erasing formula (see: http://forum.lazarus.freepascal.org/index.php/topic,35906.msg238389/topicseen.html)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5751 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -4830,7 +4830,7 @@ end;
|
|||||||
procedure TsWorksheet.WriteBlank(ACell: PCell);
|
procedure TsWorksheet.WriteBlank(ACell: PCell);
|
||||||
begin
|
begin
|
||||||
if ACell <> nil then begin
|
if ACell <> nil then begin
|
||||||
ACell^.FormulaValue := '';
|
//ACell^.FormulaValue := '';
|
||||||
if HasHyperlink(ACell) then
|
if HasHyperlink(ACell) then
|
||||||
WriteText(ACell, '') // '' will be replaced by the hyperlink target.
|
WriteText(ACell, '') // '' will be replaced by the hyperlink target.
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user