From fa0cc2f50ec444d1c738b79091f0b89a6417c3ac Mon Sep 17 00:00:00 2001 From: wp_xxyyzz Date: Tue, 26 Jun 2018 17:07:06 +0000 Subject: [PATCH] fpspreadsheet: Fix typo in evaluation of formula ISBLANK. git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6537 8e941d3f-bd1b-0410-a28a-d453659cc2b4 --- components/fpspreadsheet/source/common/fpsfunc.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/fpspreadsheet/source/common/fpsfunc.pas b/components/fpspreadsheet/source/common/fpsfunc.pas index b69878368..ae3b8641b 100644 --- a/components/fpspreadsheet/source/common/fpsfunc.pas +++ b/components/fpspreadsheet/source/common/fpsfunc.pas @@ -1777,7 +1777,7 @@ var begin case Args[0].ResultType of rtEmpty : Result := BooleanResult(true); - rtString: Result := BooleanResult(Result.ResString = ''); + rtString: Result := BooleanResult(Args[0].ResString = ''); rtCell : begin cell := ArgToCell(Args[0]); if (cell = nil) or (cell^.ContentType = cctEmpty) then