Simplification ... remove internal private functiuon and use public method.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26602 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2008-06-07 05:32:15 +00:00
parent 8c16285f1b
commit 220bf8f040
7 changed files with 29 additions and 39 deletions

View file

@ -4384,7 +4384,9 @@ static NSFileManager *fm = nil;
else
{
ret = AUTORELEASE([[self allocWithZone: NSDefaultMallocZone()]
initWithFormat: format locale: GSPrivateDefaultLocale() arguments: ap]);
initWithFormat: format locale:
[[NSUserDefaults standardUserDefaults] dictionaryRepresentation]
arguments: ap]);
}
va_end(ap);
return ret;
@ -4437,7 +4439,8 @@ static NSFileManager *fm = nil;
return [self compare: string
options: 0
range: ((NSRange){0, [self length]})
locale: GSPrivateDefaultLocale()];
locale:
[[NSUserDefaults standardUserDefaults] dictionaryRepresentation]];
}
/**
@ -4449,7 +4452,8 @@ static NSFileManager *fm = nil;
return [self compare: string
options: NSCaseInsensitiveSearch
range: ((NSRange){0, [self length]})
locale: GSPrivateDefaultLocale()];
locale:
[[NSUserDefaults standardUserDefaults] dictionaryRepresentation]];
}
/**