You've already forked lazarus-ccr
Filter on an null cursor should be null
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@597 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -137,7 +137,10 @@ function CreateCursorOn(
|
||||
AFilter : IObjectFilter
|
||||
) : IFilterableObjectCursor ;
|
||||
begin
|
||||
Result := TSimpleObjectFilterableCursor.Create(AInputCursor,AFilter);
|
||||
if ( AInputCursor <> nil ) then
|
||||
Result := TSimpleObjectFilterableCursor.Create(AInputCursor,AFilter)
|
||||
else
|
||||
Result := nil;
|
||||
end;
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user