diff options
author | Noel Grandin <noel@peralex.com> | 2014-09-11 15:25:48 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-09-17 07:08:23 +0200 |
commit | 9685276b975aa37d16ba81dd8294b5717e3823df (patch) | |
tree | 58a0b916218bf99ea5b0c6c77d3c913f317b512a /include/cppuhelper/implbase7.hxx | |
parent | a0a5f7695388627246d30701afdbd68ed812ddc9 (diff) |
cppu and cppuhelper: loplugin: cstylecast
Add a macro in include/cppuhelper/implbase_ex.hxx
to make initialising the type_entry classes a little less verbose.
Change-Id: I0904b5b9db269c92bc89e7ce3d6c8b09350c9897
Diffstat (limited to 'include/cppuhelper/implbase7.hxx')
-rw-r--r-- | include/cppuhelper/implbase7.hxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/cppuhelper/implbase7.hxx b/include/cppuhelper/implbase7.hxx index 671a21c667ac..b20356cacabd 100644 --- a/include/cppuhelper/implbase7.hxx +++ b/include/cppuhelper/implbase7.hxx @@ -45,14 +45,14 @@ namespace cppu 7 +1, sal_False, sal_False, { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, { - { { Ifc1::static_type }, ((sal_IntPtr)(Ifc1 *) (Impl *) 16) - 16 }, - { { Ifc2::static_type }, ((sal_IntPtr)(Ifc2 *) (Impl *) 16) - 16 }, - { { Ifc3::static_type }, ((sal_IntPtr)(Ifc3 *) (Impl *) 16) - 16 }, - { { Ifc4::static_type }, ((sal_IntPtr)(Ifc4 *) (Impl *) 16) - 16 }, - { { Ifc5::static_type }, ((sal_IntPtr)(Ifc5 *) (Impl *) 16) - 16 }, - { { Ifc6::static_type }, ((sal_IntPtr)(Ifc6 *) (Impl *) 16) - 16 }, - { { Ifc7::static_type }, ((sal_IntPtr)(Ifc7 *) (Impl *) 16) - 16 }, - { { com::sun::star::lang::XTypeProvider::static_type }, ((sal_IntPtr)(com::sun::star::lang::XTypeProvider *) (Impl *) 16) - 16 } + CPPUHELPER_DETAIL_TYPEENTRY(Ifc1), + CPPUHELPER_DETAIL_TYPEENTRY(Ifc2), + CPPUHELPER_DETAIL_TYPEENTRY(Ifc3), + CPPUHELPER_DETAIL_TYPEENTRY(Ifc4), + CPPUHELPER_DETAIL_TYPEENTRY(Ifc5), + CPPUHELPER_DETAIL_TYPEENTRY(Ifc6), + CPPUHELPER_DETAIL_TYPEENTRY(Ifc7), + CPPUHELPER_DETAIL_TYPEENTRY(com::sun::star::lang::XTypeProvider) } }; return reinterpret_cast< class_data * >(&s_cd); |