diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-04-16 13:59:34 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-04-16 14:00:40 +0100 |
commit | 63b4633cf7b0da9eba63e752cec72cb10ed9d93e (patch) | |
tree | d70a29ab9ddb1c64eaa4d82d0773b6c1ae9ac9b7 /i18npool | |
parent | 2ae513cc22e1cb9cc2679488537672ec48bda55e (diff) |
Related: rhbz#867808 if one person threw by pointer...
then its guaranteed that someone else did too, review
newed Exceptions
Change-Id: Ie1ad78895e443a20a8663666cd6c8d3e5deb0727
Diffstat (limited to 'i18npool')
-rw-r--r-- | i18npool/source/transliteration/transliteration_Numeric.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/i18npool/source/transliteration/transliteration_Numeric.cxx b/i18npool/source/transliteration/transliteration_Numeric.cxx index 4ef2cfbc249a..8f09c261a4a6 100644 --- a/i18npool/source/transliteration/transliteration_Numeric.cxx +++ b/i18npool/source/transliteration/transliteration_Numeric.cxx @@ -37,21 +37,21 @@ OUString SAL_CALL transliteration_Numeric::folding( const OUString& /*inStr*/, sal_Int32 /*startPos*/, sal_Int32 /*nCount*/, Sequence< sal_Int32 >& /*offset*/ ) throw(RuntimeException) { - throw (new RuntimeException()); + 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 (new RuntimeException()); + throw RuntimeException(); } Sequence< OUString > SAL_CALL transliteration_Numeric::transliterateRange( const OUString& /*str1*/, const OUString& /*str2*/ ) throw(RuntimeException) { - throw (new RuntimeException()); + throw RuntimeException(); } |