You've already forked lazarus-ccr
fpspreadsheet: Fix reading non-integer sized fixed panes in xlsx files.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4336 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -1762,9 +1762,9 @@ begin
|
||||
if s = 'frozen' then begin
|
||||
AWorksheet.Options := AWorksheet.Options + [soHasFrozenPanes];
|
||||
s := GetAttrValue(childNode, 'xSplit');
|
||||
if s <> '' then AWorksheet.LeftPaneWidth := StrToInt(s);
|
||||
if s <> '' then AWorksheet.LeftPaneWidth := round(StrToFloat(s, FPointSeparatorSettings));
|
||||
s := GetAttrValue(childNode, 'ySplit');
|
||||
if s <> '' then AWorksheet.TopPaneHeight := StrToInt(s);
|
||||
if s <> '' then AWorksheet.TopPaneHeight := round(StrToFloat(s, FPointSeparatorSettings));
|
||||
end;
|
||||
end else
|
||||
if nodeName = 'selection' then begin
|
||||
|
Reference in New Issue
Block a user