From 3d454bf83b4e46062110e30ff60c72550f4bc48f Mon Sep 17 00:00:00 2001 From: wp_xxyyzz Date: Sun, 5 Mar 2017 10:52:50 +0000 Subject: [PATCH] fpspreadsheet: Rename TsWorksheet.ReadProtection to TsWorksheet.ReadCellProtection git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5785 8e941d3f-bd1b-0410-a28a-d453659cc2b4 --- components/fpspreadsheet/source/common/fpspreadsheet.pas | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/fpspreadsheet/source/common/fpspreadsheet.pas b/components/fpspreadsheet/source/common/fpspreadsheet.pas index 1682f73b7..4d4549bc4 100644 --- a/components/fpspreadsheet/source/common/fpspreadsheet.pas +++ b/components/fpspreadsheet/source/common/fpspreadsheet.pas @@ -203,7 +203,7 @@ type function ReadVertAlignment(ACell: PCell): TsVertAlignment; function ReadWordwrap(ACell: PCell): boolean; function ReadBiDiMode(ACell: PCell): TsBiDiMode; - function ReadProtection(ACell: PCell): TsCellProtections; + function ReadCellProtection(ACell: PCell): TsCellProtections; function IsEmpty: Boolean; @@ -3516,9 +3516,9 @@ end; Returns the protection flags of the cell. NOTE: These flags are active only if sheet protection is active, i.e. - spCells in Worksheet.Protection. + soProtected in Worksheet.Options. -------------------------------------------------------------------------------} -function TsWorksheet.ReadProtection(ACell: PCell): TsCellProtections; +function TsWorksheet.ReadCellProtection(ACell: PCell): TsCellProtections; var fmt: PsCellFormat; begin