FPSpreadsheet: Fix ods chart reader crashing in EvalLengthStr()
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9424 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
parent
d88247d1e8
commit
f1db311177
@ -280,7 +280,7 @@ begin
|
||||
exit;
|
||||
|
||||
units := '';
|
||||
for i := Length(AText) downto 0 do
|
||||
for i := Length(AText) downto 1 do
|
||||
if AText[i] in ['%', 'm', 'c', 'p', 't', 'i', 'n'] then
|
||||
begin
|
||||
units := AText[i] + units;
|
||||
|
Loading…
Reference in New Issue
Block a user