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/source/services/mediatypedetectionhelper.cxx | |
parent | ad0c4bf5790546242884da0c2ec281f2db9e14a0 (diff) |
coverity#983681 Uncaught exception
Change-Id: I13b97703f6f9c3411e6da8ec3c71f6e51c8bfc13
Diffstat (limited to 'framework/source/services/mediatypedetectionhelper.cxx')
-rw-r--r-- | framework/source/services/mediatypedetectionhelper.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
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--; ) |