fpspreadsheet: Fix xlsx reading crashing for non-integer font sizes.

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4335 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
wp_xxyyzz
2015-09-17 12:51:54 +00:00
parent d49c607f42
commit 899efef347

View File

@ -1173,7 +1173,7 @@ begin
if nodename = 'sz' then
begin
s := GetAttrValue(node, 'val');
if s <> '' then fntSize := StrToFloat(s);
if s <> '' then fntSize := StrToFloat(s, FPointSeparatorSettings);
end
else
if nodename = 'b' then