summaryrefslogtreecommitdiff
path: root/package/source/zipapi/ZipFile.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'package/source/zipapi/ZipFile.cxx')
-rw-r--r--package/source/zipapi/ZipFile.cxx15
1 files changed, 5 insertions, 10 deletions
diff --git a/package/source/zipapi/ZipFile.cxx b/package/source/zipapi/ZipFile.cxx
index 76eea853f7c4..695caff3ee10 100644
--- a/package/source/zipapi/ZipFile.cxx
+++ b/package/source/zipapi/ZipFile.cxx
@@ -554,8 +554,7 @@ public:
readAndCopy(nRemaining);
}
- virtual sal_Int32 SAL_CALL readBytes( uno::Sequence<sal_Int8>& rData, sal_Int32 nBytesToRead )
- throw (NotConnectedException, BufferSizeExceededException, IOException, RuntimeException, std::exception) override
+ virtual sal_Int32 SAL_CALL readBytes( uno::Sequence<sal_Int8>& rData, sal_Int32 nBytesToRead ) override
{
if (!hasBytes())
return 0;
@@ -572,14 +571,12 @@ public:
return nReadSize;
}
- virtual sal_Int32 SAL_CALL readSomeBytes( ::css::uno::Sequence<sal_Int8>& rData, sal_Int32 nMaxBytesToRead )
- throw (NotConnectedException, BufferSizeExceededException, IOException, RuntimeException, std::exception) override
+ virtual sal_Int32 SAL_CALL readSomeBytes( ::css::uno::Sequence<sal_Int8>& rData, sal_Int32 nMaxBytesToRead ) override
{
return readBytes(rData, nMaxBytesToRead);
}
- virtual void SAL_CALL skipBytes( sal_Int32 nBytesToSkip )
- throw (NotConnectedException, BufferSizeExceededException, IOException, RuntimeException, std::exception) override
+ virtual void SAL_CALL skipBytes( sal_Int32 nBytesToSkip ) override
{
if (!hasBytes())
return;
@@ -587,8 +584,7 @@ public:
mnPos += nBytesToSkip;
}
- virtual sal_Int32 SAL_CALL available()
- throw (NotConnectedException, BufferSizeExceededException, IOException, RuntimeException, std::exception) override
+ virtual sal_Int32 SAL_CALL available() override
{
if (!hasBytes())
return 0;
@@ -596,8 +592,7 @@ public:
return remainingSize();
}
- virtual void SAL_CALL closeInput()
- throw (NotConnectedException, BufferSizeExceededException, IOException, RuntimeException, std::exception) override
+ virtual void SAL_CALL closeInput() override
{
}
};