summaryrefslogtreecommitdiff
path: root/stoc/source/corereflection/crcomp.cxx
diff options
context:
space:
mode:
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;