summaryrefslogtreecommitdiffstats
path: root/include/cppuhelper/implbase11.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-09-11 15:25:48 +0200
committerNoel Grandin <noel@peralex.com>2014-09-17 07:08:23 +0200
commit9685276b975aa37d16ba81dd8294b5717e3823df (patch)
tree58a0b916218bf99ea5b0c6c77d3c913f317b512a /include/cppuhelper/implbase11.hxx
parentUse SAL_INFO (diff)
downloadcore-9685276b975aa37d16ba81dd8294b5717e3823df.tar.gz
core-9685276b975aa37d16ba81dd8294b5717e3823df.zip
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/implbase11.hxx')
-rw-r--r--include/cppuhelper/implbase11.hxx24
1 files changed, 12 insertions, 12 deletions
diff --git a/include/cppuhelper/implbase11.hxx b/include/cppuhelper/implbase11.hxx
index efa1200e8575..c0ec01e30dda 100644
--- a/include/cppuhelper/implbase11.hxx
+++ b/include/cppuhelper/implbase11.hxx
@@ -45,18 +45,18 @@ namespace cppu
11 +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 },
- { { Ifc8::static_type }, ((sal_IntPtr)(Ifc8 *) (Impl *) 16) - 16 },
- { { Ifc9::static_type }, ((sal_IntPtr)(Ifc9 *) (Impl *) 16) - 16 },
- { { Ifc10::static_type }, ((sal_IntPtr)(Ifc10 *) (Impl *) 16) - 16 },
- { { Ifc11::static_type }, ((sal_IntPtr)(Ifc11 *) (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(Ifc8),
+ CPPUHELPER_DETAIL_TYPEENTRY(Ifc9),
+ CPPUHELPER_DETAIL_TYPEENTRY(Ifc10),
+ CPPUHELPER_DETAIL_TYPEENTRY(Ifc11),
+ CPPUHELPER_DETAIL_TYPEENTRY(com::sun::star::lang::XTypeProvider)
}
};
return reinterpret_cast< class_data * >(&s_cd);