summaryrefslogtreecommitdiffstats
path: root/i18npool/source/transliteration/transliteration_Numeric.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-02-25 21:31:58 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-02-26 18:22:20 +0100
commit5e21a413c788f839a66d9e4c14e745ed18058db8 (patch)
treed4451246461346a425ad6f796e08bf1514cdd942 /i18npool/source/transliteration/transliteration_Numeric.cxx
parentFixup whitespace changes, remove commented code. (diff)
downloadcore-5e21a413c788f839a66d9e4c14e745ed18058db8.tar.gz
core-5e21a413c788f839a66d9e4c14e745ed18058db8.zip
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'i18npool/source/transliteration/transliteration_Numeric.cxx')
-rw-r--r--i18npool/source/transliteration/transliteration_Numeric.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/i18npool/source/transliteration/transliteration_Numeric.cxx b/i18npool/source/transliteration/transliteration_Numeric.cxx
index 8129e62452f3..78d33e3feec8 100644
--- a/i18npool/source/transliteration/transliteration_Numeric.cxx
+++ b/i18npool/source/transliteration/transliteration_Numeric.cxx
@@ -28,28 +28,28 @@ using namespace com::sun::star::uno;
namespace com { namespace sun { namespace star { namespace i18n {
-sal_Int16 SAL_CALL transliteration_Numeric::getType() throw(RuntimeException)
+sal_Int16 SAL_CALL transliteration_Numeric::getType() throw(RuntimeException, std::exception)
{
return TransliterationType::NUMERIC;
}
OUString SAL_CALL
transliteration_Numeric::folding( const OUString& /*inStr*/, sal_Int32 /*startPos*/, sal_Int32 /*nCount*/, Sequence< sal_Int32 >& /*offset*/ )
-throw(RuntimeException)
+throw(RuntimeException, std::exception)
{
throw RuntimeException();
}
sal_Bool SAL_CALL
transliteration_Numeric::equals( const OUString& /*str1*/, sal_Int32 /*pos1*/, sal_Int32 /*nCount1*/, sal_Int32& /*nMatch1*/, const OUString& /*str2*/, sal_Int32 /*pos2*/, sal_Int32 /*nCount2*/, sal_Int32& /*nMatch2*/ )
-throw(RuntimeException)
+throw(RuntimeException, std::exception)
{
throw RuntimeException();
}
Sequence< OUString > SAL_CALL
transliteration_Numeric::transliterateRange( const OUString& /*str1*/, const OUString& /*str2*/ )
-throw(RuntimeException)
+throw(RuntimeException, std::exception)
{
throw RuntimeException();
}
@@ -114,7 +114,7 @@ transliteration_Numeric::transliterateBullet( const OUString& inStr, sal_Int32 s
OUString SAL_CALL
transliteration_Numeric::transliterate( const OUString& inStr, sal_Int32 startPos, sal_Int32 nCount,
- Sequence< sal_Int32 >& offset ) throw(RuntimeException)
+ Sequence< sal_Int32 >& offset ) throw(RuntimeException, std::exception)
{
if (tableSize)
return transliterateBullet( inStr, startPos, nCount, offset);
@@ -123,7 +123,7 @@ transliteration_Numeric::transliterate( const OUString& inStr, sal_Int32 startPo
}
sal_Unicode SAL_CALL
-transliteration_Numeric::transliterateChar2Char( sal_Unicode inChar ) throw(RuntimeException, MultipleCharsOutputException)
+transliteration_Numeric::transliterateChar2Char( sal_Unicode inChar ) throw(RuntimeException, MultipleCharsOutputException, std::exception)
{
if (tableSize) {
if (isNumber(inChar)) {