diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-21 13:21:56 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-21 15:30:24 +0000 |
commit | 4712767c1901efef268c1ae5f5e3a47ddf363811 (patch) | |
tree | c11f17da6cfdf022f083633e35f9e8208d968d08 /framework | |
parent | ad0c4bf5790546242884da0c2ec281f2db9e14a0 (diff) |
coverity#983681 Uncaught exception
Change-Id: I13b97703f6f9c3411e6da8ec3c71f6e51c8bfc13
Diffstat (limited to 'framework')
-rw-r--r-- | framework/inc/services/mediatypedetectionhelper.hxx | 3 | ||||
-rw-r--r-- | framework/source/services/mediatypedetectionhelper.cxx | 5 |
2 files changed, 4 insertions, 4 deletions
diff --git a/framework/inc/services/mediatypedetectionhelper.hxx b/framework/inc/services/mediatypedetectionhelper.hxx index 1dbed47461a8..dbb2819ea73e 100644 --- a/framework/inc/services/mediatypedetectionhelper.hxx +++ b/framework/inc/services/mediatypedetectionhelper.hxx @@ -110,7 +110,8 @@ class MediaTypeDetectionHelper : public ::cppu::WeakImplHelper2< ::com::sun:: @onerror - *//*-*****************************************************************************************************/ - virtual sal_Bool SAL_CALL mapStrings( css::uno::Sequence< OUString >& seqParameter ) throw( css::uno::RuntimeException ); + virtual sal_Bool SAL_CALL mapStrings(css::uno::Sequence< OUString >& seqParameter) + throw (css::uno::RuntimeException, std::exception); //------------------------------------------------------------------------------------------------------------- // variables diff --git a/framework/source/services/mediatypedetectionhelper.cxx b/framework/source/services/mediatypedetectionhelper.cxx index 2bf7912f278c..cbbeb85e6032 100644 --- a/framework/source/services/mediatypedetectionhelper.cxx +++ b/framework/source/services/mediatypedetectionhelper.cxx @@ -57,9 +57,8 @@ DEFINE_INIT_SERVICE ( MediaTypeDetectionHelper, // XStringMapping //***************************************************************************************************************** -sal_Bool SAL_CALL MediaTypeDetectionHelper::mapStrings( - uno::Sequence< OUString >& rSeq ) - throw(uno::RuntimeException) +sal_Bool SAL_CALL MediaTypeDetectionHelper::mapStrings(uno::Sequence< OUString >& rSeq) + throw (uno::RuntimeException, std::exception) { sal_Bool bModified = sal_False; for( sal_Int32 i = rSeq.getLength(); i--; ) |