mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 16:20:46 +00:00
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:
parent
255d80c476
commit
40de25588a
1 changed files with 2 additions and 17 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue