diff options
-rw-r--r-- | i18npool/source/breakiterator/breakiterator_unicode.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/i18npool/source/breakiterator/breakiterator_unicode.cxx b/i18npool/source/breakiterator/breakiterator_unicode.cxx index ac05a2579749..3e31c3606005 100644 --- a/i18npool/source/breakiterator/breakiterator_unicode.cxx +++ b/i18npool/source/breakiterator/breakiterator_unicode.cxx @@ -289,7 +289,7 @@ void SAL_CALL BreakIterator_Unicode::loadICUBreakIterator(const css::lang::Local pBI.reset( icu::BreakIterator::createLineInstance(icuLocale, status) ); break; } - if ( !U_SUCCESS(status) ) { + if ( !U_SUCCESS(status) || !pBI ) { throw uno::RuntimeException(); } icuBI->mpValue.reset( new BI_ValueData); |