diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-08-18 17:22:34 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-08-18 21:08:40 +0100 |
commit | fb46ba9dfa37ed3b56c9374230f1dd557d162388 (patch) | |
tree | 7535d40ede4fb94e5a914de726260d20b62b8f06 /package | |
parent | 6d9953a4d951353b5f04acc0522a98ccb331d7ab (diff) |
coverity#1371440 Uncaught exception
Change-Id: Ia9ce56ecbaecd6e63b3ec7086d3a677a7816c924
Diffstat (limited to 'package')
-rw-r--r-- | package/inc/ZipOutputStream.hxx | 2 | ||||
-rw-r--r-- | package/source/zipapi/ZipOutputStream.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/package/inc/ZipOutputStream.hxx b/package/inc/ZipOutputStream.hxx index 1fc41661d186..0149ade330bd 100644 --- a/package/inc/ZipOutputStream.hxx +++ b/package/inc/ZipOutputStream.hxx @@ -57,7 +57,7 @@ public: throw(css::io::IOException, css::uno::RuntimeException); void finish() - throw(css::io::IOException, css::uno::RuntimeException); + throw(css::io::IOException, css::uno::RuntimeException, std::exception); const css::uno::Reference< css::io::XOutputStream >& getStream(); static sal_uInt32 getCurrentDosTime(); diff --git a/package/source/zipapi/ZipOutputStream.cxx b/package/source/zipapi/ZipOutputStream.cxx index 7e9ffe5bfc1a..4db3aba3c362 100644 --- a/package/source/zipapi/ZipOutputStream.cxx +++ b/package/source/zipapi/ZipOutputStream.cxx @@ -173,7 +173,7 @@ void ZipOutputStream::reduceScheduledThreadsToGivenNumberOrLess(sal_Int32 nThrea } void ZipOutputStream::finish() - throw(IOException, RuntimeException) + throw(IOException, RuntimeException, std::exception) { assert(!m_aZipList.empty() && "Zip file must have at least one entry!"); |