diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-21 16:00:54 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-21 16:01:33 +0200 |
commit | f2666110df546a92de1c494ff5b980a23a7e45f2 (patch) | |
tree | e8842409d35212618d649c2afaa49ad2ba9c2a37 /include/comphelper | |
parent | c13b80e202a07b374531babe3af5a8529483f060 (diff) |
One more unused part of comphelper/implbase_var.hxx
Change-Id: I7ef85887de6bf4196d6dc0c141281d310787252c
Diffstat (limited to 'include/comphelper')
-rw-r--r-- | include/comphelper/implbase_var.hxx | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/include/comphelper/implbase_var.hxx b/include/comphelper/implbase_var.hxx index 0d77e32105df..6ae4b44e54d3 100644 --- a/include/comphelper/implbase_var.hxx +++ b/include/comphelper/implbase_var.hxx @@ -20,7 +20,6 @@ /** This header generates the following template classes with a variable number of interfaces: - comphelper::ImplHelper<N> <typename Ifc1, ..., typename Ifc<N> > comphelper::PartialWeakComponentImplHelper<N> <typename Ifc1, ..., typename Ifc<N> > @@ -116,52 +115,6 @@ struct BOOST_PP_CAT(ImplClassData, COMPHELPER_IMPLBASE_INTERFACE_NUMBER) } // namespace detail -/** Implementation helper implementing interface - ::com::sun::star::lang::XTypeProvider and method - XInterface::queryInterface(), but no reference counting. - - @derive - Inherit from this class giving your interface(s) to be implemented as - template argument(s). Your sub class defines method implementations for - these interface(s) including acquire()/release() and delegates incoming - queryInterface() calls to this base class. -*/ -template< BOOST_PP_ENUM_PARAMS(COMPHELPER_IMPLBASE_INTERFACE_NUMBER, - typename Ifc) > -class SAL_NO_VTABLE BOOST_PP_CAT(ImplHelper, - COMPHELPER_IMPLBASE_INTERFACE_NUMBER) - : public ::com::sun::star::lang::XTypeProvider, - BOOST_PP_ENUM_PARAMS(COMPHELPER_IMPLBASE_INTERFACE_NUMBER, public Ifc) -{ - /// @internal - struct cd : public ::rtl::StaticAggregate< - ::cppu::class_data, - BOOST_PP_CAT(detail::ImplClassData, - COMPHELPER_IMPLBASE_INTERFACE_NUMBER) - < - BOOST_PP_ENUM_PARAMS(COMPHELPER_IMPLBASE_INTERFACE_NUMBER, Ifc), - BOOST_PP_CAT(ImplHelper, COMPHELPER_IMPLBASE_INTERFACE_NUMBER)< - BOOST_PP_ENUM_PARAMS(COMPHELPER_IMPLBASE_INTERFACE_NUMBER, Ifc)> - > > {}; - -protected: - BOOST_PP_CAT(ImplHelper, COMPHELPER_IMPLBASE_INTERFACE_NUMBER)() {} - virtual ~BOOST_PP_CAT(ImplHelper, COMPHELPER_IMPLBASE_INTERFACE_NUMBER)() {} - -public: - virtual ::com::sun::star::uno::Any - SAL_CALL queryInterface( ::com::sun::star::uno::Type const& rType ) - throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE - { return ::cppu::ImplHelper_query( rType, cd::get(), this ); } - virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > - SAL_CALL getTypes() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE - { return ::cppu::ImplHelper_getTypes( cd::get() ); } - virtual ::com::sun::star::uno::Sequence<sal_Int8> - SAL_CALL getImplementationId() - throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE - { return ::cppu::ImplHelper_getImplementationId( cd::get() ); } -}; - template < BOOST_PP_ENUM_PARAMS(COMPHELPER_IMPLBASE_INTERFACE_NUMBER, typename Ifc) > class SAL_NO_VTABLE BOOST_PP_CAT(PartialWeakComponentImplHelper, |