summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--codemaker/source/cppumaker/cpputype.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/codemaker/source/cppumaker/cpputype.cxx b/codemaker/source/cppumaker/cpputype.cxx
index 1ef6506123d3..06bf874ccda8 100644
--- a/codemaker/source/cppumaker/cpputype.cxx
+++ b/codemaker/source/cppumaker/cpputype.cxx
@@ -914,7 +914,7 @@ OUString CppuType::resolveOuterTypedefs(OUString const & name) const {
if (m_typeMgr->getSort(n, &ent) != codemaker::UnoType::SORT_TYPEDEF) {
return n;
}
- n = dynamic_cast< unoidl::TypedefEntity * >(ent.get())->getType();
+ n = dynamic_cast<unoidl::TypedefEntity&>(*ent.get()).getType();
}
}