summaryrefslogtreecommitdiff
path: root/i18npool/source/breakiterator/breakiterator_cjk.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'i18npool/source/breakiterator/breakiterator_cjk.cxx')
-rw-r--r--i18npool/source/breakiterator/breakiterator_cjk.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/i18npool/source/breakiterator/breakiterator_cjk.cxx b/i18npool/source/breakiterator/breakiterator_cjk.cxx
index 9ff6a40a7c5d..ada4c2c349ec 100644
--- a/i18npool/source/breakiterator/breakiterator_cjk.cxx
+++ b/i18npool/source/breakiterator/breakiterator_cjk.cxx
@@ -42,7 +42,7 @@ BreakIterator_CJK::BreakIterator_CJK() :
Boundary SAL_CALL
BreakIterator_CJK::previousWord(const OUString& text, sal_Int32 anyPos,
- const lang::Locale& nLocale, sal_Int16 wordType) throw(RuntimeException)
+ const lang::Locale& nLocale, sal_Int16 wordType) throw(RuntimeException, std::exception)
{
if (dict) {
result = dict->previousWord(text, anyPos, wordType);
@@ -59,7 +59,7 @@ BreakIterator_CJK::previousWord(const OUString& text, sal_Int32 anyPos,
Boundary SAL_CALL
BreakIterator_CJK::nextWord(const OUString& text, sal_Int32 anyPos,
- const lang::Locale& nLocale, sal_Int16 wordType) throw(RuntimeException)
+ const lang::Locale& nLocale, sal_Int16 wordType) throw(RuntimeException, std::exception)
{
if (dict) {
result = dict->nextWord(text, anyPos, wordType);
@@ -77,7 +77,7 @@ BreakIterator_CJK::nextWord(const OUString& text, sal_Int32 anyPos,
Boundary SAL_CALL
BreakIterator_CJK::getWordBoundary( const OUString& text, sal_Int32 anyPos,
const lang::Locale& nLocale, sal_Int16 wordType, sal_Bool bDirection )
- throw(RuntimeException)
+ throw(RuntimeException, std::exception)
{
if (dict) {
result = dict->getWordBoundary(text, anyPos, wordType, bDirection);
@@ -93,7 +93,7 @@ LineBreakResults SAL_CALL BreakIterator_CJK::getLineBreak(
const OUString& Text, sal_Int32 nStartPos,
const lang::Locale& /*rLocale*/, sal_Int32 /*nMinBreakPos*/,
const LineBreakHyphenationOptions& /*hOptions*/,
- const LineBreakUserOptions& bOptions ) throw(RuntimeException)
+ const LineBreakUserOptions& bOptions ) throw(RuntimeException, std::exception)
{
LineBreakResults lbr;