ICU-714 NONE fix for win32

X-SVN-Rev: 2904
This commit is contained in:
Steven R. Loomis 2000-11-13 23:32:54 +00:00
parent 146231f675
commit a2ddfe0ef7

View File

@ -174,7 +174,7 @@ DateFormat::createDateInstance(DateFormat::EStyle style,
// LocaleElements.
if(style != kNone)
{
style += kDateOffset;
style = (EStyle) (style + kDateOffset);
}
return create(kNone, (EStyle) (style), aLocale);
}
@ -188,7 +188,7 @@ DateFormat::createDateTimeInstance(EStyle dateStyle,
{
if(dateStyle != kNone)
{
dateStyle += kDateOffset;
dateStyle = (EStyle) (dateStyle + kDateOffset);
}
return create(timeStyle, dateStyle, aLocale);
}