summaryrefslogtreecommitdiff
path: root/stoc/source/corereflection/crcomp.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-05-11 12:50:48 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-05-11 12:50:48 +0200
commitdcaf8af0f36bae675b9baf80e742ef97dfad3798 (patch)
treee13fbaa1c74f5e6b846e7978a0ac1f837d47e241 /stoc/source/corereflection/crcomp.cxx
parent77e6854ab3650a6cf6ee7edda7f6c61314cb106d (diff)
loplugin:cstylecast: nop between pointer types of exactly same spelling
Change-Id: Ib9c8485590d939491c9bb2cf3f2b8a70200da231
Diffstat (limited to 'stoc/source/corereflection/crcomp.cxx')
-rw-r--r--stoc/source/corereflection/crcomp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/stoc/source/corereflection/crcomp.cxx b/stoc/source/corereflection/crcomp.cxx
index 995c74badb3f..a49a69670e49 100644
--- a/stoc/source/corereflection/crcomp.cxx
+++ b/stoc/source/corereflection/crcomp.cxx
@@ -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;