diff --git a/components/fpspreadsheet/source/common/fpsfunc.pas b/components/fpspreadsheet/source/common/fpsfunc.pas index 5eeba3f36..53f2bf7ab 100644 --- a/components/fpspreadsheet/source/common/fpsfunc.pas +++ b/components/fpspreadsheet/source/common/fpsfunc.pas @@ -2830,7 +2830,7 @@ begin cctDateTime: numSearchValue := cell^.DateTimeValue; cctBool: numSearchValue := ord(cell^.BoolValue); cctEmpty: begin Result := ErrorResult(errWrongType); exit; end; - cctError: begin Result := ErrorResult(errWrongType); + cctError: begin Result := ErrorResult(errWrongType); exit; end; end; end; else