fpspreadsheet: Simplify setting borders in neighboring cells of the worksheetgrid.

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8061 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
wp_xxyyzz
2021-07-11 19:24:56 +00:00
parent a0801dd183
commit 0f89af8cd7

View File

@ -6502,7 +6502,7 @@ begin
end else end else
begin begin
Worksheet.WriteBorders(cell, AValue); Worksheet.WriteBorders(cell, AValue);
FixNeighborCellBorders(cell); // FixNeighborCellBorders(cell);
end; end;
finally finally
@ -6547,7 +6547,7 @@ begin
end else end else
begin begin
Worksheet.WriteBorderStyle(cell, ABorder, AValue); Worksheet.WriteBorderStyle(cell, ABorder, AValue);
FixNeighborCellBorders(cell); // FixNeighborCellBorders(cell);
end; end;
finally finally
EndUpdate; EndUpdate;