mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 02:10:37 +00:00
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:
parent
3b0c5dfe24
commit
2d01942e4b
99 changed files with 849 additions and 769 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue