lcl: don't copy image data if source does not have it (#0011550)

git-svn-id: trunk@15569 -
This commit is contained in:
paul 2008-06-25 01:48:14 +00:00
parent 6ba52ea68e
commit 14ecdf824d

View File

@ -1414,6 +1414,9 @@ begin
Exit;
end;
if Data = nil then Exit;
if DataSize = 0 then Exit;
// allocate some space
ADst.CreateData(False);