ICU-45 RBBI: Add missing status check at top of some constructors.

X-SVN-Rev: 9524
This commit is contained in:
Andy Heninger 2002-08-01 21:31:06 +00:00
parent 5175a2973b
commit 04c2c81c64

View File

@ -37,6 +37,7 @@ DictionaryBasedBreakIterator::DictionaryBasedBreakIterator(UDataMemory* rbbiData
: RuleBasedBreakIterator(rbbiData, status)
{
init();
if (U_FAILURE(status)) {return;};
fTables = new DictionaryBasedBreakIteratorTables(dictionaryFilename, status);
/* test for NULL */
if(fTables == 0) {