summaryrefslogtreecommitdiff
path: root/include/cppuhelper/implbase7.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-09-18 14:38:54 +0200
committerNoel Grandin <noel@peralex.com>2014-09-22 12:24:23 +0200
commit5139fad429cc70c5c235714e1e9530c28f9b722d (patch)
tree619ca6750576d2a10d7e3d12ff1f431b7bfe4d20 /include/cppuhelper/implbase7.hxx
parent4e0744b002af73475b5088aec1e6350974ba1673 (diff)
loplugin: cstylecast
Change-Id: I84873c9f84651dc8a1337f37c63020b461314e1b
Diffstat (limited to 'include/cppuhelper/implbase7.hxx')
-rw-r--r--include/cppuhelper/implbase7.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/cppuhelper/implbase7.hxx b/include/cppuhelper/implbase7.hxx
index b20356cacabd..17240c5f5c21 100644
--- a/include/cppuhelper/implbase7.hxx
+++ b/include/cppuhelper/implbase7.hxx
@@ -105,7 +105,7 @@ namespace cppu
struct cd : public rtl::StaticAggregate< class_data, ImplClassData7< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, WeakImplHelper7<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7> > > {};
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
@@ -139,7 +139,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