summaryrefslogtreecommitdiff
path: root/include/ucbhelper/macros.hxx
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2014-03-04 16:42:53 -0600
committerNorbert Thiebaud <nthiebaud@gmail.com>2014-03-05 09:44:20 -0600
commitcf1878f5dcac82f61f696410faa685c7a2d795a8 (patch)
treeedf54e89075bbf71bee6a5dea6f719e675415e45 /include/ucbhelper/macros.hxx
parent8b40ddd9f092ea97707fbde8c4d7dd58ac867af2 (diff)
kill XINTERFACE_IMPL_3
Change-Id: I72448b67ae52e89c206f9c313b3d351ae2a56dc3
Diffstat (limited to 'include/ucbhelper/macros.hxx')
-rw-r--r--include/ucbhelper/macros.hxx27
1 files changed, 0 insertions, 27 deletions
diff --git a/include/ucbhelper/macros.hxx b/include/ucbhelper/macros.hxx
index 6b80fc89fdb9..e74c597bd5c9 100644
--- a/include/ucbhelper/macros.hxx
+++ b/include/ucbhelper/macros.hxx
@@ -35,33 +35,6 @@
#define CPPU_TYPE( T ) getCppuType( static_cast< T * >( 0 ) )
#define CPPU_TYPE_REF( T ) CPPU_TYPE( com::sun::star::uno::Reference< T > )
-// XInterface impl.
-
-// 3 interfaces implemented
-#define XINTERFACE_IMPL_3( Class, Ifc1, Ifc2, Ifc3 ) \
-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)), \
- (static_cast< Ifc3* >(this)) \
- ); \
- return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType ); \
-}\
-
// XTypeProvider decl.