From fb46ba9dfa37ed3b56c9374230f1dd557d162388 Mon Sep 17 00:00:00 2001 From: Caolán McNamara <caolanm@redhat.com> Date: Thu, 18 Aug 2016 17:22:34 +0100 Subject: coverity#1371440 Uncaught exception Change-Id: Ia9ce56ecbaecd6e63b3ec7086d3a677a7816c924 --- package/inc/ZipOutputStream.hxx | 2 +- package/source/zipapi/ZipOutputStream.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'package') 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!"); -- cgit