summaryrefslogtreecommitdiffstats
path: root/cppu/source/uno/eq.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-01-17 18:18:10 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-01-20 09:06:46 +0100
commit9193a15fc55b24e9f463838fd2981ddb84dca227 (patch)
tree55f1a5b401e65bcc7cd52c87def321f15a3b1f72 /cppu/source/uno/eq.hxx
parentSome more loplugin:cstylecast: connectivity (diff)
downloadcore-9193a15fc55b24e9f463838fd2981ddb84dca227.tar.gz
core-9193a15fc55b24e9f463838fd2981ddb84dca227.zip
Some more loplugin:cstylecast: cppu
Change-Id: Iec1251648031afa9eddd7445135fb08dc74821bd
Diffstat (limited to 'cppu/source/uno/eq.hxx')
-rw-r--r--cppu/source/uno/eq.hxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/cppu/source/uno/eq.hxx b/cppu/source/uno/eq.hxx
index dc064bef28b6..5c6a973d05a2 100644
--- a/cppu/source/uno/eq.hxx
+++ b/cppu/source/uno/eq.hxx
@@ -211,7 +211,7 @@ inline bool _equalSequence(
{
if (! _equalStruct( (char *)pDestElements + (nPos * nElementSize),
(char *)pSourceElements + (nPos * nElementSize),
- (typelib_CompoundTypeDescription *)pElementTypeDescr,
+ reinterpret_cast<typelib_CompoundTypeDescription *>(pElementTypeDescr),
queryInterface, release ))
{
TYPELIB_DANGER_RELEASE( pElementTypeDescr );
@@ -226,7 +226,7 @@ inline bool _equalSequence(
typelib_TypeDescription * pElementTypeDescr = 0;
TYPELIB_DANGER_GET( &pElementTypeDescr, pElementType );
typelib_TypeDescriptionReference * pSeqElementType =
- ((typelib_IndirectTypeDescription *)pElementTypeDescr)->pType;
+ reinterpret_cast<typelib_IndirectTypeDescription *>(pElementTypeDescr)->pType;
for ( sal_Int32 nPos = nElements; nPos--; )
{
if (! equalSequence( ((uno_Sequence **)pDestElements)[nPos],
@@ -541,7 +541,7 @@ inline bool _equalData(
{
return _equalStruct(
pDest, pSource,
- (typelib_CompoundTypeDescription *)pDestTypeDescr,
+ reinterpret_cast<typelib_CompoundTypeDescription *>(pDestTypeDescr),
queryInterface, release );
}
else
@@ -549,7 +549,7 @@ inline bool _equalData(
TYPELIB_DANGER_GET( &pDestTypeDescr, pDestType );
bool bRet = _equalStruct(
pDest, pSource,
- (typelib_CompoundTypeDescription *)pDestTypeDescr,
+ reinterpret_cast<typelib_CompoundTypeDescription *>(pDestTypeDescr),
queryInterface, release );
TYPELIB_DANGER_RELEASE( pDestTypeDescr );
return bRet;
@@ -561,7 +561,7 @@ inline bool _equalData(
{
return _equalSequence(
*(uno_Sequence **)pDest, *(uno_Sequence **)pSource,
- ((typelib_IndirectTypeDescription *)pDestTypeDescr)->pType,
+ reinterpret_cast<typelib_IndirectTypeDescription *>(pDestTypeDescr)->pType,
queryInterface, release );
}
else
@@ -569,7 +569,7 @@ inline bool _equalData(
TYPELIB_DANGER_GET( &pDestTypeDescr, pDestType );
bool bRet = _equalSequence(
*(uno_Sequence **)pDest, *(uno_Sequence **)pSource,
- ((typelib_IndirectTypeDescription *)pDestTypeDescr)->pType,
+ reinterpret_cast<typelib_IndirectTypeDescription *>(pDestTypeDescr)->pType,
queryInterface, release );
TYPELIB_DANGER_RELEASE( pDestTypeDescr );
return bRet;