diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-03-08 14:12:42 -0600 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-03-08 15:27:34 -0600 |
commit | a14e1cb35b93131ee8492cffdf936097f4fc8306 (patch) | |
tree | 180183787c928a9355cc0c961b8bf1fafe4b4d93 /ucbhelper | |
parent | c8117c46f1e4f9aaf6245d5d68f26d5656116b39 (diff) |
de-macroize ucbhelper activedatastreamer
Change-Id: I55bbce1f8e3c0dcd92d0e2af03d7be5c7ac910c0
Diffstat (limited to 'ucbhelper')
-rw-r--r-- | ucbhelper/source/client/activedatastreamer.cxx | 52 |
1 files changed, 4 insertions, 48 deletions
diff --git a/ucbhelper/source/client/activedatastreamer.cxx b/ucbhelper/source/client/activedatastreamer.cxx index 15baa8e65ebf..0190b6d11ee4 100644 --- a/ucbhelper/source/client/activedatastreamer.cxx +++ b/ucbhelper/source/client/activedatastreamer.cxx @@ -29,66 +29,22 @@ using namespace com::sun::star; namespace ucbhelper { - - - - // ActiveDataStreamer Implementation. - - - - - -// XInterface methods - -void SAL_CALL ActiveDataStreamer::acquire() - throw() -{ - OWeakObject::acquire(); -} - -void SAL_CALL ActiveDataStreamer::release() - throw() -{ - OWeakObject::release(); -} - -css::uno::Any SAL_CALL ActiveDataStreamer::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::XActiveDataStreamer* >(this)) - ); - return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType ); -} - -// XTypeProvider methods - - - -XTYPEPROVIDER_IMPL_2( ActiveDataStreamer, - lang::XTypeProvider, - io::XActiveDataStreamer ); - - - // XActiveDataStreamer methods. - - // virtual void SAL_CALL ActiveDataStreamer::setStream( const uno::Reference< io::XStream >& xStream ) - throw( uno::RuntimeException, std::exception ) + throw( uno::RuntimeException, + std::exception ) { m_xStream = xStream; } - // virtual uno::Reference< io::XStream > SAL_CALL ActiveDataStreamer::getStream() - throw( uno::RuntimeException, std::exception ) + throw( uno::RuntimeException, + std::exception ) { return m_xStream; } |