diff options
Diffstat (limited to 'ucbhelper')
-rw-r--r-- | ucbhelper/source/client/activedatasink.cxx | 49 |
1 files changed, 1 insertions, 48 deletions
diff --git a/ucbhelper/source/client/activedatasink.cxx b/ucbhelper/source/client/activedatasink.cxx index d83643f63f5b..604801f4983a 100644 --- a/ucbhelper/source/client/activedatasink.cxx +++ b/ucbhelper/source/client/activedatasink.cxx @@ -29,58 +29,11 @@ using namespace com::sun::star; namespace ucbhelper { - - - - // ActiveDataSink Implementation. - - - - - - -// XInterface methods - -void SAL_CALL ActiveDataSink::acquire() - throw() -{ - OWeakObject::acquire(); -} - -void SAL_CALL ActiveDataSink::release() - throw() -{ - OWeakObject::release(); -} - -css::uno::Any SAL_CALL ActiveDataSink::queryInterface( const css::uno::Type & rType ) - throw( css::uno::RuntimeException, std::exception ) -{ - css::uno::Any aRet = cppu::queryInterface( rType, - (static_cast< lang::XTypeProvider* >(this)), - (static_cast< io::XActiveDataSink* >(this)) - ); - return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType ); -} - -// XTypeProvider methods - - - -XTYPEPROVIDER_IMPL_2( ActiveDataSink, - lang::XTypeProvider, - io::XActiveDataSink ); - - - // XActiveDataSink methods. - - // virtual -void SAL_CALL ActiveDataSink::setInputStream( - const uno::Reference< io::XInputStream >& aStream ) +void SAL_CALL ActiveDataSink::setInputStream( const uno::Reference< io::XInputStream >& aStream ) throw( uno::RuntimeException, std::exception ) { m_xStream = aStream; |