mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 09:04:13 +00:00
property list updates
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3653 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
6268385a3f
commit
01badcfd5a
2 changed files with 19 additions and 1 deletions
|
@ -317,6 +317,15 @@ static Class NSMutableArray_concrete_class;
|
|||
{
|
||||
id result = [myString propertyList];
|
||||
|
||||
NS_DURING
|
||||
{
|
||||
result = [myString propertyList];
|
||||
}
|
||||
NS_HANDLER
|
||||
{
|
||||
result = nil;
|
||||
}
|
||||
NS_ENDHANDLER
|
||||
[myString release];
|
||||
if ([result isKindOfClass: [NSArray class]])
|
||||
{
|
||||
|
|
|
@ -385,8 +385,17 @@ static Class NSMutableDictionary_concrete_class;
|
|||
myString = [[NSString alloc] initWithContentsOfFile: path];
|
||||
if (myString)
|
||||
{
|
||||
id result = [myString propertyList];
|
||||
id result;
|
||||
|
||||
NS_DURING
|
||||
{
|
||||
result = [myString propertyList];
|
||||
}
|
||||
NS_HANDLER
|
||||
{
|
||||
result = nil;
|
||||
}
|
||||
NS_ENDHANDLER
|
||||
[myString release];
|
||||
if ([result isKindOfClass: [NSDictionary class]])
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue