Removed a couple of private methods which were not used anywhere

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15782 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2003-01-30 15:36:15 +00:00
parent 255d80c476
commit 40de25588a

View file

@ -326,14 +326,6 @@ static BOOL classInheritsFromNSMutableAttributedString (Class c)
return text;
}
+ (NSAttributedString*) parseFile: (NSFileWrapper *)wrapper
documentAttributes: (NSDictionary **)dict
{
return [self parseFile: wrapper
documentAttributes: dict
class: [NSMutableAttributedString class]];
}
+ (NSAttributedString*) parseData: (NSData *)rtfData
documentAttributes: (NSDictionary **)dict
class: (Class)class
@ -349,14 +341,6 @@ static BOOL classInheritsFromNSMutableAttributedString (Class c)
return text;
}
+ (NSAttributedString*) parseData: (NSData *)rtfData
documentAttributes: (NSDictionary **)dict
{
return [self parseData: rtfData
documentAttributes: dict
class: [NSMutableAttributedString class]];
}
- (id) init
{
ignore = 0;
@ -386,12 +370,13 @@ static BOOL classInheritsFromNSMutableAttributedString (Class c)
+ (NSAttributedString*) parseData: (NSData *)rtfData
documentAttributes: (NSDictionary **)dict
class: (Class)class
{
NSAttributedString *str;
NSFileWrapper *wrapper = [[NSFileWrapper alloc]
initWithSerializedRepresentation: rtfData];
str = [self parseFile: wrapper documentAttributes: dict];
str = [self parseFile: wrapper documentAttributes: dict class: class];
RELEASE (wrapper);
return str;