summaryrefslogtreecommitdiff
path: root/i18npool/source/collator/collator_unicode.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'i18npool/source/collator/collator_unicode.cxx')
-rw-r--r--i18npool/source/collator/collator_unicode.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/i18npool/source/collator/collator_unicode.cxx b/i18npool/source/collator/collator_unicode.cxx
index 8da25cb34c98..f6fcbe75d9ce 100644
--- a/i18npool/source/collator/collator_unicode.cxx
+++ b/i18npool/source/collator/collator_unicode.cxx
@@ -91,13 +91,13 @@ const sal_uInt8* get_collator_data_zh_zhuyin();
sal_Int32 SAL_CALL
Collator_Unicode::compareSubstring( const OUString& str1, sal_Int32 off1, sal_Int32 len1,
- const OUString& str2, sal_Int32 off2, sal_Int32 len2) throw(RuntimeException)
+ const OUString& str2, sal_Int32 off2, sal_Int32 len2) throw(RuntimeException, std::exception)
{
return collator->compare(reinterpret_cast<const UChar *>(str1.getStr()) + off1, len1, reinterpret_cast<const UChar *>(str2.getStr()) + off2, len2); // UChar != sal_Unicode in MinGW
}
sal_Int32 SAL_CALL
-Collator_Unicode::compareString( const OUString& str1, const OUString& str2) throw(RuntimeException)
+Collator_Unicode::compareString( const OUString& str1, const OUString& str2) throw(RuntimeException, std::exception)
{
return collator->compare(reinterpret_cast<const UChar *>(str1.getStr()), reinterpret_cast<const UChar *>(str2.getStr())); // UChar != sal_Unicode in MinGW
}
@@ -110,7 +110,7 @@ extern "C" { static void SAL_CALL thisModule() {} }
sal_Int32 SAL_CALL
Collator_Unicode::loadCollatorAlgorithm(const OUString& rAlgorithm, const lang::Locale& rLocale, sal_Int32 options)
- throw(RuntimeException)
+ throw(RuntimeException, std::exception)
{
if (!collator) {
UErrorCode status = U_ZERO_ERROR;
@@ -243,19 +243,19 @@ Collator_Unicode::loadCollatorAlgorithm(const OUString& rAlgorithm, const lang::
OUString SAL_CALL
-Collator_Unicode::getImplementationName() throw( RuntimeException )
+Collator_Unicode::getImplementationName() throw( RuntimeException, std::exception )
{
return OUString::createFromAscii(implementationName);
}
sal_Bool SAL_CALL
-Collator_Unicode::supportsService(const OUString& rServiceName) throw( RuntimeException )
+Collator_Unicode::supportsService(const OUString& rServiceName) throw( RuntimeException, std::exception )
{
return cppu::supportsService(this, rServiceName);
}
Sequence< OUString > SAL_CALL
-Collator_Unicode::getSupportedServiceNames() throw( RuntimeException )
+Collator_Unicode::getSupportedServiceNames() throw( RuntimeException, std::exception )
{
Sequence< OUString > aRet(1);
aRet[0] = OUString::createFromAscii(implementationName);