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/implbase_ex_post.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/implbase_ex_post.hxx')
-rw-r--r-- | include/cppuhelper/implbase_ex_post.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/cppuhelper/implbase_ex_post.hxx b/include/cppuhelper/implbase_ex_post.hxx index 0dcc1b60d4d8..8db5ce1b9899 100644 --- a/include/cppuhelper/implbase_ex_post.hxx +++ b/include/cppuhelper/implbase_ex_post.hxx @@ -68,7 +68,7 @@ class SAL_NO_VTABLE SAL_DLLPUBLIC_TEMPLATE WeakImplHelper##N \ static class_data##N s_cd; \ 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, (class_data *)&s_cd, this, (OWeakObject *)this ); } \ + { return WeakImplHelper_query( rType, (class_data *)&s_cd, this, static_cast<OWeakObject *>(this) ); } \ virtual void SAL_CALL acquire() throw () SAL_OVERRIDE \ { OWeakObject::acquire(); } \ virtual void SAL_CALL release() throw () SAL_OVERRIDE \ @@ -92,7 +92,7 @@ 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 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, (class_data *)&s_cd, this, (OWeakAggObject *)this ); } \ + { return WeakAggImplHelper_queryAgg( rType, (class_data *)&s_cd, this, static_cast<OWeakAggObject *>(this) ); } \ virtual void SAL_CALL acquire() throw () SAL_OVERRIDE \ { OWeakAggObject::acquire(); } \ virtual void SAL_CALL release() throw () SAL_OVERRIDE \ |