summaryrefslogtreecommitdiffstats
path: root/package/source/xstor/selfterminatefilestream.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-02-25 21:31:58 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-02-26 18:22:20 +0100
commit5e21a413c788f839a66d9e4c14e745ed18058db8 (patch)
treed4451246461346a425ad6f796e08bf1514cdd942 /package/source/xstor/selfterminatefilestream.cxx
parentFixup whitespace changes, remove commented code. (diff)
downloadcore-5e21a413c788f839a66d9e4c14e745ed18058db8.tar.gz
core-5e21a413c788f839a66d9e4c14e745ed18058db8.zip
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'package/source/xstor/selfterminatefilestream.cxx')
-rw-r--r--package/source/xstor/selfterminatefilestream.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/package/source/xstor/selfterminatefilestream.cxx b/package/source/xstor/selfterminatefilestream.cxx
index fe21e3bcc169..6ba6e6845b52 100644
--- a/package/source/xstor/selfterminatefilestream.cxx
+++ b/package/source/xstor/selfterminatefilestream.cxx
@@ -66,7 +66,7 @@ sal_Int32 SAL_CALL OSelfTerminateFileStream::readBytes( uno::Sequence< sal_Int8
throw ( io::NotConnectedException,
io::BufferSizeExceededException,
io::IOException,
- uno::RuntimeException )
+ uno::RuntimeException, std::exception )
{
return m_xInputStream->readBytes( aData, nBytesToRead );
}
@@ -75,7 +75,7 @@ sal_Int32 SAL_CALL OSelfTerminateFileStream::readSomeBytes( uno::Sequence< sal_I
throw ( io::NotConnectedException,
io::BufferSizeExceededException,
io::IOException,
- uno::RuntimeException )
+ uno::RuntimeException, std::exception )
{
return m_xInputStream->readSomeBytes( aData, nMaxBytesToRead );
}
@@ -84,7 +84,7 @@ void SAL_CALL OSelfTerminateFileStream::skipBytes( sal_Int32 nBytesToSkip )
throw ( io::NotConnectedException,
io::BufferSizeExceededException,
io::IOException,
- uno::RuntimeException )
+ uno::RuntimeException, std::exception )
{
return m_xInputStream->skipBytes( nBytesToSkip );
}
@@ -92,7 +92,7 @@ void SAL_CALL OSelfTerminateFileStream::skipBytes( sal_Int32 nBytesToSkip )
sal_Int32 SAL_CALL OSelfTerminateFileStream::available( )
throw ( io::NotConnectedException,
io::IOException,
- uno::RuntimeException )
+ uno::RuntimeException, std::exception )
{
return m_xInputStream->available();
}
@@ -100,7 +100,7 @@ sal_Int32 SAL_CALL OSelfTerminateFileStream::available( )
void SAL_CALL OSelfTerminateFileStream::closeInput( )
throw ( io::NotConnectedException,
io::IOException,
- uno::RuntimeException )
+ uno::RuntimeException, std::exception )
{
CloseStreamDeleteFile();
}
@@ -108,21 +108,21 @@ void SAL_CALL OSelfTerminateFileStream::closeInput( )
void SAL_CALL OSelfTerminateFileStream::seek( sal_Int64 location )
throw ( lang::IllegalArgumentException,
io::IOException,
- uno::RuntimeException )
+ uno::RuntimeException, std::exception )
{
m_xSeekable->seek( location );
}
sal_Int64 SAL_CALL OSelfTerminateFileStream::getPosition()
throw ( io::IOException,
- uno::RuntimeException)
+ uno::RuntimeException, std::exception)
{
return m_xSeekable->getPosition();
}
sal_Int64 SAL_CALL OSelfTerminateFileStream::getLength()
throw ( io::IOException,
- uno::RuntimeException )
+ uno::RuntimeException, std::exception )
{
return m_xSeekable->getLength();
}