diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-01-17 18:19:08 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-01-20 09:06:46 +0100 |
commit | dbdb81950112475cd5b0585eaa8b7d97b94e7d36 (patch) | |
tree | adff0d0cfc780f27db79892e83968b675949fcf3 /cppuhelper/source/tdmgr.cxx | |
parent | Some more loplugin:cstylecast: cppu (diff) | |
download | core-dbdb81950112475cd5b0585eaa8b7d97b94e7d36.tar.gz core-dbdb81950112475cd5b0585eaa8b7d97b94e7d36.zip |
Some more loplugin:cstylecast: cppuhelper
Change-Id: Ifc11a0ea20a4eec40544cd931d0f94e0db3e3288
Diffstat (limited to 'cppuhelper/source/tdmgr.cxx')
-rw-r--r-- | cppuhelper/source/tdmgr.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cppuhelper/source/tdmgr.cxx b/cppuhelper/source/tdmgr.cxx index e25325a2a65a..abd2865dc722 100644 --- a/cppuhelper/source/tdmgr.cxx +++ b/cppuhelper/source/tdmgr.cxx @@ -224,7 +224,7 @@ inline static typelib_TypeDescription * createCTD( setExc.push_back( setExcs[i]->getName().pData ); } typelib_typedescription_newExtendedInterfaceAttribute( - (typelib_InterfaceAttributeTypeDescription **)&pRet, + reinterpret_cast<typelib_InterfaceAttributeTypeDescription **>(&pRet), xAttribute->getPosition(), aMemberName.pData, // name (typelib_TypeClass)xType->getTypeClass(), @@ -285,7 +285,7 @@ static typelib_TypeDescription * createCTD( OUString aReturnTypeName( xReturnType->getName() ); typelib_typedescription_newInterfaceMethod( - (typelib_InterfaceMethodTypeDescription **)&pRet, + reinterpret_cast<typelib_InterfaceMethodTypeDescription **>(&pRet), xMethod->getPosition(), xMethod->isOneway(), aTypeName.pData, @@ -354,7 +354,7 @@ inline static typelib_TypeDescription * createCTD( } typelib_typedescription_newMIInterface( - (typelib_InterfaceTypeDescription **)&pRet, + reinterpret_cast<typelib_InterfaceTypeDescription **>(&pRet), aTypeName.pData, 0, 0, 0, 0, 0, nBases, pBaseTypeRefs, @@ -386,7 +386,7 @@ inline static typelib_TypeDescription * createCTD( const Reference< XEnumTypeDes typelib_typedescription_newEnum( &pRet, aTypeName.pData, xType->getDefaultEnumValue(), aNames.getLength(), - (rtl_uString **)aNames.getConstArray(), + const_cast<rtl_uString **>(reinterpret_cast<rtl_uString * const *>(aNames.getConstArray())), const_cast< sal_Int32 * >( aValues.getConstArray() ) ); } return pRet; |