diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-03-05 19:47:58 -0600 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-03-06 10:04:33 +0100 |
commit | a6e19ea7a8885dcbdb1d8b2f56586373595ba8aa (patch) | |
tree | bb05bf857759210591f5a1e6824ad63a096b0310 /ucbhelper | |
parent | 8556cd881270823865662e9a7700da58d11c2785 (diff) |
use WeakImplHelper for ActivaDataSink
Change-Id: Ife32157ff876a0860b3920cadc24b7888200796b
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
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; |