loplugin:cstylecast: nop between pointer types of exactly same spelling
Change-Id: Ib9c8485590d939491c9bb2cf3f2b8a70200da231
This commit is contained in:
@@ -135,7 +135,7 @@ Reference< XIdlClass > IdlCompFieldImpl::getDeclaringClass()
|
||||
typelib_TypeDescriptionReference ** ppTypeRefs = pTD->ppTypeRefs;
|
||||
for ( sal_Int32 nPos = pTD->nMembers; nPos--; )
|
||||
{
|
||||
if (td_equals( (typelib_TypeDescription *)getTypeDescr(), ppTypeRefs[nPos] ))
|
||||
if (td_equals( getTypeDescr(), ppTypeRefs[nPos] ))
|
||||
{
|
||||
_xDeclClass = getReflection()->forType( &pTD->aBase );
|
||||
return _xDeclClass;
|
||||
|
@@ -167,7 +167,7 @@ Reference< XIdlClass > IdlAttributeFieldImpl::getType()
|
||||
FieldAccessMode IdlAttributeFieldImpl::getAccessMode()
|
||||
throw(css::uno::RuntimeException, std::exception)
|
||||
{
|
||||
return (((typelib_InterfaceAttributeTypeDescription *)getAttributeTypeDescr())->bReadOnly
|
||||
return ((getAttributeTypeDescr())->bReadOnly
|
||||
? FieldAccessMode_READONLY : FieldAccessMode_READWRITE);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user