diff options
Diffstat (limited to 'ucbhelper/source/client/activedatasink.cxx')
-rw-r--r-- | ucbhelper/source/client/activedatasink.cxx | 24 |
1 files changed, 19 insertions, 5 deletions
diff --git a/ucbhelper/source/client/activedatasink.cxx b/ucbhelper/source/client/activedatasink.cxx index aed7305e5efe..d83643f63f5b 100644 --- a/ucbhelper/source/client/activedatasink.cxx +++ b/ucbhelper/source/client/activedatasink.cxx @@ -42,13 +42,27 @@ namespace ucbhelper // XInterface methods +void SAL_CALL ActiveDataSink::acquire() + throw() +{ + OWeakObject::acquire(); +} +void SAL_CALL ActiveDataSink::release() + throw() +{ + OWeakObject::release(); +} -XINTERFACE_IMPL_2( ActiveDataSink, - lang::XTypeProvider, - io::XActiveDataSink ); - - +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 |