You've already forked lazarus-ccr
fpspreadsheet: Simplify handling of 3d references. Fix bug related to 3d reference type 'Sheet1:Sheet2!A1'.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6422 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@@ -944,7 +944,14 @@ begin
|
||||
ASheet2 := copy(s1, p+1, MaxInt);
|
||||
end;
|
||||
end;
|
||||
Result := ParseCellRangeString(s2, ARow1, ACol1, ARow2, ACol2, AFlags);
|
||||
|
||||
p := pos(':', s2);
|
||||
if p = 0 then begin
|
||||
ARow2 := Cardinal(-1);
|
||||
ACol2 := Cardinal(-1);
|
||||
Result := ParseCellString(s2, ARow1, ACol1, AFlags);
|
||||
end else
|
||||
Result := ParseCellRangeString(s2, ARow1, ACol1, ARow2, ACol2, AFlags);
|
||||
end;
|
||||
|
||||
{@@ ----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user