diff options
author | Noel Grandin <noel@peralex.com> | 2014-09-18 14:38:54 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-09-22 12:24:23 +0200 |
commit | 5139fad429cc70c5c235714e1e9530c28f9b722d (patch) | |
tree | 619ca6750576d2a10d7e3d12ff1f431b7bfe4d20 /include/cppuhelper/implbase12.hxx | |
parent | Unwind one level of cluttering indirection (diff) | |
download | core-5139fad429cc70c5c235714e1e9530c28f9b722d.tar.gz core-5139fad429cc70c5c235714e1e9530c28f9b722d.zip |
loplugin: cstylecast
Change-Id: I84873c9f84651dc8a1337f37c63020b461314e1b
Diffstat (limited to 'include/cppuhelper/implbase12.hxx')
-rw-r--r-- | include/cppuhelper/implbase12.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/cppuhelper/implbase12.hxx b/include/cppuhelper/implbase12.hxx index 65ca838d9818..b78ed6563ac7 100644 --- a/include/cppuhelper/implbase12.hxx +++ b/include/cppuhelper/implbase12.hxx @@ -110,7 +110,7 @@ namespace cppu struct cd : public rtl::StaticAggregate< class_data, ImplClassData12< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11, Ifc12, WeakImplHelper12<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11, Ifc12> > > {}; 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 WeakImplHelper_query( rType, cd::get(), this, (OWeakObject *)this ); } + { return WeakImplHelper_query( rType, cd::get(), this, static_cast<OWeakObject *>(this) ); } virtual void SAL_CALL acquire() throw () SAL_OVERRIDE { OWeakObject::acquire(); } virtual void SAL_CALL release() throw () SAL_OVERRIDE @@ -144,7 +144,7 @@ namespace cppu 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 OWeakAggObject::queryInterface( rType ); } virtual com::sun::star::uno::Any SAL_CALL queryAggregation( com::sun::star::uno::Type const & rType ) throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE - { return WeakAggImplHelper_queryAgg( rType, cd::get(), this, (OWeakAggObject *)this ); } + { return WeakAggImplHelper_queryAgg( rType, cd::get(), this, static_cast<OWeakAggObject *>(this) ); } virtual void SAL_CALL acquire() throw () SAL_OVERRIDE { OWeakAggObject::acquire(); } virtual void SAL_CALL release() throw () SAL_OVERRIDE |