From e090a0f5802904ca8cded9208993e09bc08a3052 Mon Sep 17 00:00:00 2001 From: Norbert Thiebaud Date: Tue, 4 Mar 2014 15:00:14 -0600 Subject: kill XINTERFACE_IMPL_2 Change-Id: Ic735b7d6ddfaacab9af7405e4dacc62f818bed8c --- include/ucbhelper/macros.hxx | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'include/ucbhelper') diff --git a/include/ucbhelper/macros.hxx b/include/ucbhelper/macros.hxx index 94c5b7d9cb16..ab35b0d3c006 100644 --- a/include/ucbhelper/macros.hxx +++ b/include/ucbhelper/macros.hxx @@ -37,30 +37,6 @@ // XInterface impl. -// 2 interfaces implemented -#define XINTERFACE_IMPL_2( Class, Ifc1, Ifc2 ) \ -void SAL_CALL Class::acquire() \ - throw() \ -{ \ - OWeakObject::acquire(); \ -} \ - \ -void SAL_CALL Class::release() \ - throw() \ -{ \ - OWeakObject::release(); \ -} \ -com::sun::star::uno::Any SAL_CALL Class::queryInterface( \ - const com::sun::star::uno::Type & rType ) \ - throw( com::sun::star::uno::RuntimeException, std::exception ) \ -{ \ - com::sun::star::uno::Any aRet = cppu::queryInterface( rType, \ - (static_cast< Ifc1* >(this)), \ - (static_cast< Ifc2* >(this)) \ - ); \ - return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType ); \ -}\ - // 3 interfaces implemented #define XINTERFACE_IMPL_3( Class, Ifc1, Ifc2, Ifc3 ) \ void SAL_CALL Class::acquire() \ -- cgit