summaryrefslogtreecommitdiff
path: root/i18npool/source/transliteration/transliteration_Ignore.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'i18npool/source/transliteration/transliteration_Ignore.cxx')
-rw-r--r--i18npool/source/transliteration/transliteration_Ignore.cxx13
1 files changed, 6 insertions, 7 deletions
diff --git a/i18npool/source/transliteration/transliteration_Ignore.cxx b/i18npool/source/transliteration/transliteration_Ignore.cxx
index a0d9ebf8fab1..3d852afb8aea 100644
--- a/i18npool/source/transliteration/transliteration_Ignore.cxx
+++ b/i18npool/source/transliteration/transliteration_Ignore.cxx
@@ -27,7 +27,7 @@ inline sal_Int32 Min( sal_Int32 a, sal_Int32 b ) { return a > b ? b : a; }
sal_Bool SAL_CALL
transliteration_Ignore::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, std::exception)
+ const OUString& str2, sal_Int32 pos2, sal_Int32 nCount2, sal_Int32& nMatch2 )
{
Sequence< sal_Int32 > offset1;
Sequence< sal_Int32 > offset2;
@@ -59,7 +59,7 @@ transliteration_Ignore::equals(const OUString& str1, sal_Int32 pos1, sal_Int32 n
Sequence< OUString > SAL_CALL
-transliteration_Ignore::transliterateRange( const OUString& str1, const OUString& str2 ) throw(RuntimeException, std::exception)
+transliteration_Ignore::transliterateRange( const OUString& str1, const OUString& str2 )
{
if (str1.isEmpty() || str2.isEmpty())
throw RuntimeException();
@@ -72,7 +72,7 @@ transliteration_Ignore::transliterateRange( const OUString& str1, const OUString
sal_Int16 SAL_CALL
-transliteration_Ignore::getType() throw(RuntimeException, std::exception)
+transliteration_Ignore::getType()
{
// The type is also defined in com/sun/star/util/TransliterationType.hdl
return TransliterationType::IGNORE;
@@ -81,7 +81,7 @@ transliteration_Ignore::getType() throw(RuntimeException, std::exception)
OUString SAL_CALL
transliteration_Ignore::transliterate( const OUString& inStr, sal_Int32 startPos, sal_Int32 nCount,
- Sequence< sal_Int32 >& offset ) throw(RuntimeException, std::exception)
+ Sequence< sal_Int32 >& offset )
{
// The method folding is defined in a sub class.
return this->folding( inStr, startPos, nCount, offset);
@@ -89,7 +89,7 @@ transliteration_Ignore::transliterate( const OUString& inStr, sal_Int32 startPos
Sequence< OUString > SAL_CALL
transliteration_Ignore::transliterateRange( const OUString& str1, const OUString& str2,
- XTransliteration& t1, XTransliteration& t2 ) throw(RuntimeException)
+ XTransliteration& t1, XTransliteration& t2 )
{
if (str1.isEmpty() || str2.isEmpty())
throw RuntimeException();
@@ -118,7 +118,6 @@ transliteration_Ignore::transliterateRange( const OUString& str1, const OUString
OUString SAL_CALL
transliteration_Ignore::folding( const OUString& inStr, sal_Int32 startPos,
sal_Int32 nCount, Sequence< sal_Int32 >& offset)
- throw(RuntimeException, std::exception)
{
// Create a string buffer which can hold nCount + 1 characters.
// The reference count is 1 now.
@@ -197,7 +196,7 @@ transliteration_Ignore::folding( const OUString& inStr, sal_Int32 startPos,
}
sal_Unicode SAL_CALL
-transliteration_Ignore::transliterateChar2Char( sal_Unicode inChar) throw(RuntimeException, MultipleCharsOutputException, std::exception)
+transliteration_Ignore::transliterateChar2Char( sal_Unicode inChar)
{
return func ? func( inChar) : table ? (*table)[ inChar ] : inChar;
}