Replace #include -> #import

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32451 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2011-03-04 11:33:22 +00:00
parent 3b0c5dfe24
commit 2d01942e4b
99 changed files with 849 additions and 769 deletions

View file

@ -27,12 +27,8 @@
Boston, MA 02110-1301, USA.
*/
/* To keep the allocation counts valid when swizzling the class in
[NSMutableParagraphStyle -copyWithZone:]. */
#include <Foundation/NSDebug.h>
#include <Foundation/NSException.h>
#include "AppKit/NSParagraphStyle.h"
#import <Foundation/NSException.h>
#import "AppKit/NSParagraphStyle.h"
@implementation NSTextTab
@ -804,16 +800,14 @@ static NSParagraphStyle *defaultStyle = nil;
- (id) copyWithZone: (NSZone*)aZone
{
NSMutableParagraphStyle *c;
NSMutableParagraphStyle *c;
c = (NSMutableParagraphStyle*)NSCopyObject (self, 0, aZone);
GSDebugAllocationRemove(c->isa, c);
c->isa = [NSParagraphStyle class];
GSDebugAllocationAdd(c->isa, c);
GSClassSwizzle(c, [NSParagraphStyle class]);
c->_tabStops = [_tabStops mutableCopyWithZone: aZone];
c->_textBlocks = [_textBlocks mutableCopyWithZone: aZone];
c->_textLists = [_textLists mutableCopyWithZone: aZone];
return c;
return c;
}
@end