Fix invalid return statements between NS_DURING and NS_HANDLER in

Source/NSImage.m.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27643 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Wolfgang Lux 2009-01-20 20:18:22 +00:00
parent d635454454
commit b4ece5bc82
2 changed files with 10 additions and 3 deletions

View file

@ -1,3 +1,10 @@
2009-01-20 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/NSImage.m (-compositeToPoint:fromRect:operation:,
-compositeToPoint:fromRect:operation:fraction:,
-dissolveToPoint:fromRect:fraction:): Fix invalid return
statements between NS_DURING and NS_HANDLER.
2009-01-19 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSAnimation.m (-_gs_startAnimationInOwnLoop): Use an auto

View file

@ -752,7 +752,7 @@ repd_for_rep(NSArray *_reps, NSImageRep *rep)
NSCachedImageRep *cache = nil;
if (rep == nil)
return;
NS_VOIDRETURN;
if (([GSCurrentContext() isDrawingToScreen] == YES)
&& _cacheMode != NSImageCacheNever)
@ -823,7 +823,7 @@ repd_for_rep(NSArray *_reps, NSImageRep *rep)
NSCachedImageRep *cache = nil;
if (rep == nil)
return;
NS_VOIDRETURN;
if (([GSCurrentContext() isDrawingToScreen] == YES)
&& _cacheMode != NSImageCacheNever)
@ -900,7 +900,7 @@ repd_for_rep(NSArray *_reps, NSImageRep *rep)
NSCachedImageRep *cache = nil;
if (rep == nil)
return;
NS_VOIDRETURN;
if (([GSCurrentContext() isDrawingToScreen] == YES)
&& _cacheMode != NSImageCacheNever)