* fixed compilation (exception typecast)

git-svn-id: trunk@7905 -
This commit is contained in:
marc 2005-10-03 16:38:28 +00:00
parent 4ee8919e11
commit 837dd40f06

View File

@ -268,7 +268,7 @@ begin
RawImage^.Description.AlphaLineEnd);
UsedBitsPerLine:=Width*RawImage^.Description.AlphaBitsPerPixel;
if RawImage^.MaskSize<((Height*BitsPerLine+7) shr 3) then
raise Exception('RawImageMaskIsEmpty Invalid MaskSize');
raise Exception.Create('RawImageMaskIsEmpty Invalid MaskSize');
if (BitsPerLine and 7)=0 then begin
// byte boundary
UsedBytesPerLine:=UsedBitsPerLine shr 3;