diff options
Diffstat (limited to 'i18npool/source/textconversion/textconversionImpl.cxx')
-rw-r--r-- | i18npool/source/textconversion/textconversionImpl.cxx | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/i18npool/source/textconversion/textconversionImpl.cxx b/i18npool/source/textconversion/textconversionImpl.cxx index 2386d44ccb63..0e05fd176b81 100644 --- a/i18npool/source/textconversion/textconversionImpl.cxx +++ b/i18npool/source/textconversion/textconversionImpl.cxx @@ -31,7 +31,6 @@ namespace com { namespace sun { namespace star { namespace i18n { TextConversionResult SAL_CALL TextConversionImpl::getConversions( const OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength, const Locale& rLocale, sal_Int16 nConversionType, sal_Int32 nConversionOptions) - throw( RuntimeException, IllegalArgumentException, NoSupportException, std::exception ) { getLocaleSpecificTextConversion(rLocale); @@ -44,7 +43,6 @@ TextConversionImpl::getConversions( const OUString& aText, sal_Int32 nStartPos, OUString SAL_CALL TextConversionImpl::getConversion( const OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength, const Locale& rLocale, sal_Int16 nConversionType, sal_Int32 nConversionOptions) - throw( RuntimeException, IllegalArgumentException, NoSupportException, std::exception ) { getLocaleSpecificTextConversion(rLocale); @@ -57,7 +55,6 @@ TextConversionImpl::getConversion( const OUString& aText, sal_Int32 nStartPos, s OUString SAL_CALL TextConversionImpl::getConversionWithOffset( const OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength, const Locale& rLocale, sal_Int16 nConversionType, sal_Int32 nConversionOptions, Sequence< sal_Int32>& offset) - throw( RuntimeException, IllegalArgumentException, NoSupportException, std::exception ) { getLocaleSpecificTextConversion(rLocale); @@ -69,7 +66,6 @@ TextConversionImpl::getConversionWithOffset( const OUString& aText, sal_Int32 nS sal_Bool SAL_CALL TextConversionImpl::interactiveConversion( const Locale& rLocale, sal_Int16 nTextConversionType, sal_Int32 nTextConversionOptions ) - throw( RuntimeException, IllegalArgumentException, NoSupportException, std::exception ) { getLocaleSpecificTextConversion(rLocale); @@ -77,7 +73,7 @@ TextConversionImpl::interactiveConversion( const Locale& rLocale, sal_Int16 nTex } void SAL_CALL -TextConversionImpl::getLocaleSpecificTextConversion(const Locale& rLocale) throw( NoSupportException ) +TextConversionImpl::getLocaleSpecificTextConversion(const Locale& rLocale) { if (rLocale != aLocale) { aLocale = rLocale; @@ -107,20 +103,19 @@ TextConversionImpl::getLocaleSpecificTextConversion(const Locale& rLocale) throw } OUString SAL_CALL -TextConversionImpl::getImplementationName() throw( RuntimeException, std::exception ) +TextConversionImpl::getImplementationName() { return OUString("com.sun.star.i18n.TextConversion"); } sal_Bool SAL_CALL TextConversionImpl::supportsService(const OUString& rServiceName) - throw( RuntimeException, std::exception ) { return cppu::supportsService(this, rServiceName); } Sequence< OUString > SAL_CALL -TextConversionImpl::getSupportedServiceNames() throw( RuntimeException, std::exception ) +TextConversionImpl::getSupportedServiceNames() { Sequence< OUString > aRet { "com.sun.star.i18n.TextConversion" }; return aRet; |