ICU-4020 bug fix for UCONFIG_NO_BREAK_ITERATION

X-SVN-Rev: 16702
This commit is contained in:
Markus Scherer 2004-11-01 22:36:35 +00:00
parent 4c9602c15d
commit b74819b945

View File

@ -1457,8 +1457,8 @@ UnicodeSet& UnicodeSet::closeOver(int32_t attribute) {
}
}
if (strings != NULL && strings->size() > 0) {
#if !UCONFIG_NO_BREAK_ITERATION
Locale root("");
#if !UCONFIG_NO_BREAK_ITERATION
BreakIterator *bi = BreakIterator::createWordInstance(root, status);
#endif
if (U_SUCCESS(status)) {