diff options
Diffstat (limited to 'ucb/source/ucp/gio/gio_seekable.cxx')
-rw-r--r-- | ucb/source/ucp/gio/gio_seekable.cxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/ucb/source/ucp/gio/gio_seekable.cxx b/ucb/source/ucp/gio/gio_seekable.cxx index 6566eff801f1..56b295809656 100644 --- a/ucb/source/ucp/gio/gio_seekable.cxx +++ b/ucb/source/ucp/gio/gio_seekable.cxx @@ -40,7 +40,6 @@ Seekable::~Seekable() } void SAL_CALL Seekable::truncate() - throw( io::IOException, uno::RuntimeException, std::exception ) { if (!mpStream) throw io::NotConnectedException(); @@ -55,7 +54,6 @@ void SAL_CALL Seekable::truncate() } void SAL_CALL Seekable::seek( sal_Int64 location ) - throw( lang::IllegalArgumentException, io::IOException, uno::RuntimeException, std::exception ) { if (!mpStream) throw io::NotConnectedException(); @@ -69,7 +67,7 @@ void SAL_CALL Seekable::seek( sal_Int64 location ) convertToIOException(pError, static_cast< cppu::OWeakObject * >(this)); } -sal_Int64 SAL_CALL Seekable::getPosition() throw( io::IOException, uno::RuntimeException, std::exception ) +sal_Int64 SAL_CALL Seekable::getPosition() { if (!mpStream) throw io::NotConnectedException(); @@ -77,7 +75,7 @@ sal_Int64 SAL_CALL Seekable::getPosition() throw( io::IOException, uno::RuntimeE return g_seekable_tell(mpStream); } -sal_Int64 SAL_CALL Seekable::getLength() throw( io::IOException, uno::RuntimeException, std::exception ) +sal_Int64 SAL_CALL Seekable::getLength() { if (!mpStream) throw io::NotConnectedException(); @@ -112,7 +110,7 @@ sal_Int64 SAL_CALL Seekable::getLength() throw( io::IOException, uno::RuntimeExc return nSize; } -uno::Any Seekable::queryInterface( const uno::Type &type ) throw( uno::RuntimeException, std::exception ) +uno::Any Seekable::queryInterface( const uno::Type &type ) { uno::Any aRet = ::cppu::queryInterface ( type, static_cast< XSeekable * >( this ) ); |