You've already forked lazarus-ccr
fpspreadsheet: Fix ParseCellString to return false if string is without row part.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3499 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@@ -498,6 +498,9 @@ function ParseCellString(const AStr: String; out ACellRow, ACellCol: Cardinal;
|
||||
isAbs := (AStr[i] = '$');
|
||||
if isAbs then inc(i);
|
||||
|
||||
if i > Length(AStr) then
|
||||
exit;
|
||||
|
||||
// Scan digits
|
||||
while (i <= Length(AStr)) do begin
|
||||
if (AStr[i] in DIGITS) then begin
|
||||
|
Reference in New Issue
Block a user