Undid accidental commit.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31645 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
David Chisnall 2010-11-23 13:20:34 +00:00
parent e933a5dfee
commit 00095bc74c
3 changed files with 3 additions and 26 deletions

View file

@ -1,13 +1,3 @@
2010-11-19 22:15 theraven
* libs/base/trunk/Source/GSICUString.h: Fixed missing newline at
end of GSICUString.h
2010-11-19 22:15 theraven
* libs/base/trunk/Source/GSICUString.h: Fixed missing newline at
end of GSICUString.h
2010-11-19 Niels Grewe <niels.grewe@halbordnung.de>
* Source/NSRegularExpression.m: Rearrange for non-C99 compliant

View file

@ -105,7 +105,9 @@ extern "C" {
#if GS_EXPOSE(NSDateFormatter)
NSString *_dateFormat;
BOOL _allowsNaturalLanguage;
NSLocale *locale;
#endif
#if !GS_NONFRAGILE
void *_unused;
#endif
}
@ -139,14 +141,8 @@ extern "C" {
* specifies strings similar to "June 18, 1991".
*/
- (NSString *) dateFormat;
- (NSLocale*)locale;
- (void)setLocale: (NSLocale*)aLocale;
@end
extern NSString *const NSDateFormatterLongStyle;
extern NSString *const NSDateFormatterShortStyle;
extern NSString *const NSDateFormatterNoStyle;
#endif
#if defined(__cplusplus)

View file

@ -62,7 +62,6 @@
- (void) dealloc
{
RELEASE(locale);
RELEASE(_dateFormat);
[super dealloc];
}
@ -71,14 +70,6 @@
{
return [self stringForObjectValue: anObject];
}
- (NSLocale*)locale
{
return locale;
}
- (void)setLocale: (NSLocale*)aLocale
{
ASSIGN(locale, aLocale);
}
- (void) encodeWithCoder: (NSCoder*)aCoder
{