From f0c7544df93e3847c4f96934d1d76be3e8d3af85 Mon Sep 17 00:00:00 2001 From: Takeshi Abe Date: Wed, 6 Jun 2012 18:46:01 +0900 Subject: nuke dead code Change-Id: I0ea47ee535ba0e903bae0de227acd311ca96aa03 --- cppuhelper/inc/cppuhelper/compbase1.hxx | 3 -- cppuhelper/inc/cppuhelper/compbase10.hxx | 3 -- cppuhelper/inc/cppuhelper/compbase11.hxx | 3 -- cppuhelper/inc/cppuhelper/compbase12.hxx | 3 -- cppuhelper/inc/cppuhelper/compbase2.hxx | 3 -- cppuhelper/inc/cppuhelper/compbase3.hxx | 3 -- cppuhelper/inc/cppuhelper/compbase4.hxx | 3 -- cppuhelper/inc/cppuhelper/compbase5.hxx | 3 -- cppuhelper/inc/cppuhelper/compbase6.hxx | 3 -- cppuhelper/inc/cppuhelper/compbase7.hxx | 3 -- cppuhelper/inc/cppuhelper/compbase8.hxx | 3 -- cppuhelper/inc/cppuhelper/compbase9.hxx | 3 -- cppuhelper/inc/cppuhelper/implbase_ex_post.hxx | 57 -------------------------- 13 files changed, 93 deletions(-) (limited to 'cppuhelper/inc') diff --git a/cppuhelper/inc/cppuhelper/compbase1.hxx b/cppuhelper/inc/cppuhelper/compbase1.hxx index c18210d13d94..32d2954b4ea9 100644 --- a/cppuhelper/inc/cppuhelper/compbase1.hxx +++ b/cppuhelper/inc/cppuhelper/compbase1.hxx @@ -30,9 +30,6 @@ #include #include -/* -__DEF_COMPIMPLHELPER_EX( 1 ) -*/ namespace cppu { diff --git a/cppuhelper/inc/cppuhelper/compbase10.hxx b/cppuhelper/inc/cppuhelper/compbase10.hxx index 9c0a1c14fe56..f059a95394da 100644 --- a/cppuhelper/inc/cppuhelper/compbase10.hxx +++ b/cppuhelper/inc/cppuhelper/compbase10.hxx @@ -30,9 +30,6 @@ #include #include -/* -__DEF_COMPIMPLHELPER_EX( 10 ) -*/ namespace cppu { diff --git a/cppuhelper/inc/cppuhelper/compbase11.hxx b/cppuhelper/inc/cppuhelper/compbase11.hxx index 33d8a2f17bad..0eab9c553f34 100644 --- a/cppuhelper/inc/cppuhelper/compbase11.hxx +++ b/cppuhelper/inc/cppuhelper/compbase11.hxx @@ -30,9 +30,6 @@ #include #include -/* -__DEF_COMPIMPLHELPER_EX( 11 ) -*/ namespace cppu { diff --git a/cppuhelper/inc/cppuhelper/compbase12.hxx b/cppuhelper/inc/cppuhelper/compbase12.hxx index cb0a03a82581..9a0a908848bc 100644 --- a/cppuhelper/inc/cppuhelper/compbase12.hxx +++ b/cppuhelper/inc/cppuhelper/compbase12.hxx @@ -30,9 +30,6 @@ #include #include -/* -__DEF_COMPIMPLHELPER_EX( 12 ) -*/ namespace cppu { diff --git a/cppuhelper/inc/cppuhelper/compbase2.hxx b/cppuhelper/inc/cppuhelper/compbase2.hxx index f055fe35e7ed..1fe5140b9ee5 100644 --- a/cppuhelper/inc/cppuhelper/compbase2.hxx +++ b/cppuhelper/inc/cppuhelper/compbase2.hxx @@ -30,9 +30,6 @@ #include #include -/* -__DEF_COMPIMPLHELPER_EX( 2 ) -*/ namespace cppu { diff --git a/cppuhelper/inc/cppuhelper/compbase3.hxx b/cppuhelper/inc/cppuhelper/compbase3.hxx index a31570ad2d0f..31c0072ef34d 100644 --- a/cppuhelper/inc/cppuhelper/compbase3.hxx +++ b/cppuhelper/inc/cppuhelper/compbase3.hxx @@ -30,9 +30,6 @@ #include #include -/* -__DEF_COMPIMPLHELPER_EX( 3 ) -*/ namespace cppu { diff --git a/cppuhelper/inc/cppuhelper/compbase4.hxx b/cppuhelper/inc/cppuhelper/compbase4.hxx index b2e204711cfe..69f31b052d56 100644 --- a/cppuhelper/inc/cppuhelper/compbase4.hxx +++ b/cppuhelper/inc/cppuhelper/compbase4.hxx @@ -30,9 +30,6 @@ #include #include -/* -__DEF_COMPIMPLHELPER_EX( 4 ) -*/ namespace cppu { diff --git a/cppuhelper/inc/cppuhelper/compbase5.hxx b/cppuhelper/inc/cppuhelper/compbase5.hxx index 8b279daf3587..bdf6fd95198c 100644 --- a/cppuhelper/inc/cppuhelper/compbase5.hxx +++ b/cppuhelper/inc/cppuhelper/compbase5.hxx @@ -30,9 +30,6 @@ #include #include -/* -__DEF_COMPIMPLHELPER_EX( 5 ) -*/ namespace cppu { diff --git a/cppuhelper/inc/cppuhelper/compbase6.hxx b/cppuhelper/inc/cppuhelper/compbase6.hxx index a91b07e929b4..20ada1cb1799 100644 --- a/cppuhelper/inc/cppuhelper/compbase6.hxx +++ b/cppuhelper/inc/cppuhelper/compbase6.hxx @@ -30,9 +30,6 @@ #include #include -/* -__DEF_COMPIMPLHELPER_EX( 6 ) -*/ namespace cppu { diff --git a/cppuhelper/inc/cppuhelper/compbase7.hxx b/cppuhelper/inc/cppuhelper/compbase7.hxx index 81910ed9c56d..5fbed705f5f4 100644 --- a/cppuhelper/inc/cppuhelper/compbase7.hxx +++ b/cppuhelper/inc/cppuhelper/compbase7.hxx @@ -30,9 +30,6 @@ #include #include -/* -__DEF_COMPIMPLHELPER_EX( 7 ) -*/ namespace cppu { diff --git a/cppuhelper/inc/cppuhelper/compbase8.hxx b/cppuhelper/inc/cppuhelper/compbase8.hxx index 8d4009a86383..ebc1b83ad454 100644 --- a/cppuhelper/inc/cppuhelper/compbase8.hxx +++ b/cppuhelper/inc/cppuhelper/compbase8.hxx @@ -30,9 +30,6 @@ #include #include -/* -__DEF_COMPIMPLHELPER_EX( 8 ) -*/ namespace cppu { diff --git a/cppuhelper/inc/cppuhelper/compbase9.hxx b/cppuhelper/inc/cppuhelper/compbase9.hxx index 946b319b8911..72444c2531ac 100644 --- a/cppuhelper/inc/cppuhelper/compbase9.hxx +++ b/cppuhelper/inc/cppuhelper/compbase9.hxx @@ -30,9 +30,6 @@ #include #include -/* -__DEF_COMPIMPLHELPER_EX( 9 ) -*/ namespace cppu { diff --git a/cppuhelper/inc/cppuhelper/implbase_ex_post.hxx b/cppuhelper/inc/cppuhelper/implbase_ex_post.hxx index aca4ce83e591..0f861a5040fb 100644 --- a/cppuhelper/inc/cppuhelper/implbase_ex_post.hxx +++ b/cppuhelper/inc/cppuhelper/implbase_ex_post.hxx @@ -170,63 +170,6 @@ class_data##N AggImplInheritanceHelper##N< BaseClass, __IFC##N >::s_cd = \ __DEF_CLASS_DATA_INIT_EX( N, (AggImplInheritanceHelper##N< BaseClass, __IFC##N > *) ); \ } -#define __DEF_COMPIMPLHELPER_EX( N ) \ -namespace cppu \ -{ \ -template< __CLASS_IFC##N > \ -class SAL_NO_VTABLE SAL_DLLPUBLIC_TEMPLATE WeakComponentImplHelper##N \ - : public WeakComponentImplHelperBase \ - , public ::com::sun::star::lang::XTypeProvider \ - , __PUBLIC_IFC##N \ -{ \ - static class_data##N s_cd; \ -public: \ - inline WeakComponentImplHelper##N( ::osl::Mutex & rMutex ) SAL_THROW(()) \ - : WeakComponentImplHelperBase( rMutex ) \ - {} \ - virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( ::com::sun::star::uno::Type const & rType ) throw (::com::sun::star::uno::RuntimeException) \ - { return WeakComponentImplHelper_query( rType, (class_data *)&s_cd, this, (WeakComponentImplHelperBase *)this ); } \ - virtual void SAL_CALL acquire() throw () \ - { WeakComponentImplHelperBase::acquire(); } \ - virtual void SAL_CALL release() throw () \ - { WeakComponentImplHelperBase::release(); } \ - virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes() throw (::com::sun::star::uno::RuntimeException) \ - { return WeakComponentImplHelper_getTypes( (class_data *)&s_cd ); } \ - virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw (::com::sun::star::uno::RuntimeException) \ - { return ImplHelper_getImplementationId( (class_data *)&s_cd ); } \ -}; \ -template< __CLASS_IFC##N > \ -class_data##N WeakComponentImplHelper##N< __IFC##N >::s_cd = \ -__DEF_CLASS_DATA_INIT_EX( N, (WeakComponentImplHelper##N< __IFC##N > *) ); \ -template< __CLASS_IFC##N > \ -class SAL_NO_VTABLE SAL_DLLPUBLIC_TEMPLATE WeakAggComponentImplHelper##N \ - : public WeakAggComponentImplHelperBase \ - , public ::com::sun::star::lang::XTypeProvider \ - , __PUBLIC_IFC##N \ -{ \ - static class_data##N s_cd; \ -public: \ - inline WeakAggComponentImplHelper##N( ::osl::Mutex & rMutex ) SAL_THROW(()) \ - : WeakAggComponentImplHelperBase( rMutex ) \ - {} \ - virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( ::com::sun::star::uno::Type const & rType ) throw (::com::sun::star::uno::RuntimeException) \ - { return WeakAggComponentImplHelperBase::queryInterface( rType ); } \ - virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation( ::com::sun::star::uno::Type const & rType ) throw (::com::sun::star::uno::RuntimeException) \ - { return WeakAggComponentImplHelper_queryAgg( rType, (class_data *)&s_cd, this, (WeakAggComponentImplHelperBase *)this ); } \ - virtual void SAL_CALL acquire() throw () \ - { WeakAggComponentImplHelperBase::acquire(); } \ - virtual void SAL_CALL release() throw () \ - { WeakAggComponentImplHelperBase::release(); } \ - virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes() throw (::com::sun::star::uno::RuntimeException) \ - { return WeakAggComponentImplHelper_getTypes( (class_data *)&s_cd ); } \ - virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw (::com::sun::star::uno::RuntimeException) \ - { return ImplHelper_getImplementationId( (class_data *)&s_cd ); } \ -}; \ -template< __CLASS_IFC##N > \ -class_data##N WeakAggComponentImplHelper##N< __IFC##N >::s_cd = \ -__DEF_CLASS_DATA_INIT_EX( N, (WeakAggComponentImplHelper##N< __IFC##N > *) ); \ -} - /// @endcond #endif -- cgit