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/implbase13.hxx | |
parent | 4e0744b002af73475b5088aec1e6350974ba1673 (diff) |
loplugin: cstylecast
Change-Id: I84873c9f84651dc8a1337f37c63020b461314e1b
Diffstat (limited to 'include/cppuhelper/implbase13.hxx')
-rw-r--r-- | include/cppuhelper/implbase13.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/cppuhelper/implbase13.hxx b/include/cppuhelper/implbase13.hxx index f62b9620e17e..8d8efa2593f1 100644 --- a/include/cppuhelper/implbase13.hxx +++ b/include/cppuhelper/implbase13.hxx @@ -111,7 +111,7 @@ namespace cppu struct cd : public rtl::StaticAggregate< class_data, ImplClassData13< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11, Ifc12, Ifc13, WeakImplHelper13<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11, Ifc12, Ifc13> > > {}; 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 @@ -145,7 +145,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 |