summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/inc/ZipOutputStream.hxx2
-rw-r--r--package/source/zipapi/ZipOutputStream.cxx2
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!");