diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-06-27 17:30:55 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-06-27 18:25:05 +0100 |
commit | ac33fb8e740a35b62b6e23775712e23f3f7c65ea (patch) | |
tree | 9326eebed7fb493911483b6d3781ea2a64f193a8 /i18npool | |
parent | 625e373d6c668b6d34fbc6a4d42dd41c550dd782 (diff) |
coverity#1308466 Uncaught exception
Change-Id: I8b8c67ae0a6a14998852754ae938c137063b4851
Diffstat (limited to 'i18npool')
-rw-r--r-- | i18npool/inc/defaultnumberingprovider.hxx | 2 | ||||
-rw-r--r-- | i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/i18npool/inc/defaultnumberingprovider.hxx b/i18npool/inc/defaultnumberingprovider.hxx index 2ec0c0a2e049..572b1d296d08 100644 --- a/i18npool/inc/defaultnumberingprovider.hxx +++ b/i18npool/inc/defaultnumberingprovider.hxx @@ -89,7 +89,7 @@ private: com::sun::star::uno::Reference < com::sun::star::container::XHierarchicalNameAccess > xHierarchicalNameAccess; TransliterationImpl* translit; OUString SAL_CALL makeNumberingIdentifier( sal_Int16 index ) - throw(com::sun::star::uno::RuntimeException); + throw(com::sun::star::uno::RuntimeException, std::exception); bool SAL_CALL isScriptFlagEnabled(const OUString& aName ) throw(com::sun::star::uno::RuntimeException); }; diff --git a/i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx b/i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx index a38cb75c05c1..5e4d58291438 100644 --- a/i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx +++ b/i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx @@ -944,7 +944,7 @@ static const Supported_NumberingType aSupportedTypes[] = static const sal_Int32 nSupported_NumberingTypes = sizeof(aSupportedTypes) / sizeof(Supported_NumberingType); OUString DefaultNumberingProvider::makeNumberingIdentifier(sal_Int16 index) - throw(RuntimeException) + throw(RuntimeException, std::exception) { if (aSupportedTypes[index].cSymbol) return OUString(aSupportedTypes[index].cSymbol, strlen(aSupportedTypes[index].cSymbol), RTL_TEXTENCODING_UTF8); |